covid-sim
|
Functions | |
def | try_remove (f) |
def | parse_args () |
Variables | |
def | args = parse_args() |
list | united_states = [ "United_States" ] |
list | canada = [ "Canada" ] |
list | usa_territories = ["Alaska", "Hawaii", "Guam", "Virgin_Islands_US", "Puerto_Rico", "American_Samoa"] |
list | nigeria = ["Nigeria"] |
def | exe = args.covidsim |
build_dir = os.path.join(args.outputdir, "build") | |
ignore_errors | |
exist_ok | |
cwd = os.getcwd() | |
check | |
outputdir | |
admin_file | |
string | wpop_file_root = "usacan" |
wpop_file_gz | |
wpop_file | |
wpop_bin | |
pp_file = os.path.join(args.paramdir, "preUS_R0=2.0.txt") | |
no_int_file = os.path.join(args.paramdir, "p_NoInt.txt") | |
list | control_roots = [ "PC7_CI_HQ_SD" ] |
cf = os.path.join(args.paramdir, "p_{0}.txt".format(root)) | |
school_file = None | |
float | r = 3.0 |
float | rs = r/2 |
network_bin | |
list | cmd |
process = subprocess.run(cmd, check=True) | |
Run the sample data. See README.md in this directory for more information.
def run_sample.parse_args | ( | ) |
Parse the arguments. On exit: Returns the result of calling argparse.parse() args.covidsim is the name of the CovidSim executable args.datadir is the directory with the input data args.paramdir is the directory with the parameters in it args.outputdir is the directory where output will be stored args.threads is the number of threads to use
Definition at line 21 of file run_sample.py.
run_sample.admin_file |
Definition at line 116 of file run_sample.py.
list run_sample.cmd |
Definition at line 218 of file run_sample.py.
run_sample.network_bin |
Definition at line 210 of file run_sample.py.
run_sample.wpop_bin |
Definition at line 149 of file run_sample.py.
run_sample.wpop_file |
Definition at line 146 of file run_sample.py.
run_sample.wpop_file_gz |
Definition at line 136 of file run_sample.py.