InstituteforDiseaseModeling / EMOD-Generic-Scripts

Demonstration simulations using Generic-Ongoing branch of EMOD
1 stars 2 forks source link

EXE and ENV are resolved by emod_reduce in emod_exp #6

Closed krosenfeld-IDM closed 6 months ago

krosenfeld-IDM commented 6 months ago

When running the calibrationi examples in model_demographics01 and model_measles_cod01, I was running into an error:

Traceback (most recent call last):
  File "/mnt/idm2/home/krosenfeld/workitems/a0b/a1d/b90/a0ba1db9-02d4-ee11-aa11-b88303911bc1/Assets/emod_calib.py", line 110, in <module>
    calibration_daemon()
  File "/mnt/idm2/home/krosenfeld/workitems/a0b/a1d/b90/a0ba1db9-02d4-ee11-aa11-b88303911bc1/Assets/emod_calib.py", line 89, in calibration_daemon
    exp_obj_new = exp_from_def_file(PATH_EXP_DEF, PATH_PYTHON, PATH_ENV, PATH_EXE, PATH_DATA)
TypeError: exp_from_def_file() takes 4 positional arguments but 5 were given

This pull request seems to fix the issue.