ictr / covid19-outbreak-simulator

Population-based Forward-time Simulator for the Outbreak of COVID-19
https://ictr.github.io/covid19-outbreak-simulator/
Other
1 stars 3 forks source link

Partial output from interrupted simulations #14

Closed BoPeng closed 3 years ago

BoPeng commented 3 years ago

Right now by default the simulator will ignore any replicates that are already in the log file and continue from there. The problem is that if the previous job was forcefully killed, the log file might not be complete and some simulations might not be complete. Appending new results to that file might be problematic.

We could try to fix this by checking the existence of END event but we have to make END mandatory.

BoPeng commented 3 years ago

Let us check the existence of END event.