slight format change
Simple script for running Covasim scenarios
'''
-
import sciris as sc
import covasim as cova
-if __name__ == "__main__":
-
sc.heading('Setting up...')
- sc.tic()
-
# Specify what to run
scenarios = {
'baseline': 'Status quo',
@@ -64,6 +59,11 @@ if __name__ == "__main__":
},
}
+
+if __name__ == "__main__": # Required for parallel processing on Windows
+
+ sc.tic()
+
# If we're rerunning...
if do_run:
scens = cova.Scenarios(metapars=metapars, scenarios=scenarios)
