Skip to content

Commit

Permalink
Full run test config for massive
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-ragonnet committed Sep 20, 2023
1 parent e900cfc commit ccfff93
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions user/rragonnet/massivetest.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
from autumn.projects.sm_covid2.common_school.calibration import get_bcm_object
from autumn.projects.sm_covid2.common_school.runner_tools import run_full_analysis, DEFAULT_RUN_CONFIG, TEST_RUN_CONFIG
import multiprocessing as mp
from pathlib import Path


if __name__ == "__main__":
print("Start job")
mp.set_start_method("forkserver")
bcm = get_bcm_object("FRA", 'main')
for p in bcm.priors:
print(p)


run_name = "short_full_test"
this_dir_path = Path(__file__).resolve().parent
out_path = this_dir_path / "outputs" / run_name
out_path.mkdir(exist_ok=True)

_, _, _ = run_full_analysis("FRA", "main", TEST_RUN_CONFIG, out_path)

print("success!!!")

0 comments on commit ccfff93

Please sign in to comment.