-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e900cfc
commit ccfff93
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!!!") |