You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into the same import error on the model_demographics01 and model_demographics02 example:
ImportError: cannot import name 'FILENAME_ID' from 'emod_reduce' (/home/krosenfeld/code/EMOD-Generic-Scripts/local_python/emod_reduce.py)
For example, with pyrhon make02_launch_sims.py in EMOD-Generic-Scripts/model_demographics02/experiment_demog_WPP_estimates01/:
$ python make02_launch_sims.py
/home/krosenfeld/code/EMOD-Generic-Scripts/.venv/lib/python3.10/site-packages/COMPS/Data/SerializableEntity.py:111: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if name[0] is not '_' or include_hidden_props:
cannot import name 'FILENAME_ID' from 'emod_reduce' (/home/krosenfeld/code/EMOD-Generic-Scripts/local_python/emod_reduce.py)
NoneType: None
Traceback (most recent call last):
File "/home/krosenfeld/code/EMOD-Generic-Scripts/model_demographics02/experiment_demog_WPP_estimates01/make02_launch_sims.py", line 14, in <module>
from emod_reduce import FILENAME_ID
ImportError: cannot import name 'FILENAME_ID' from 'emod_reduce' (/home/krosenfeld/code/EMOD-Generic-Scripts/local_python/emod_reduce.py)
I updated several of the models (covariance01, measles01, network01, polio_nga01, rubella01, transtree01) to v2.0 of emodpy, but haven't finished the rest yet.
I am running into the same import error on the
model_demographics01
andmodel_demographics02
example:For example, with
pyrhon make02_launch_sims.py
inEMOD-Generic-Scripts/model_demographics02/experiment_demog_WPP_estimates01/
:Here is my environment information:
The text was updated successfully, but these errors were encountered: