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
hsp2 import_uci ./tests/ZRW_WestIndian/HSPF.uci ./tests/ZRW_WestIndian/ref_run_HSPF.h5 hsp2 run ./tests/ZRW_WestIndian/ref_run_HSPF.h5
fails with the error:
2024-10-02 22:47:31.65 Processing started for file ./tests/ZRW_WestIndian/ref_run_HSPF.h5; saveall=True
Traceback (most recent call last):
File "/var/home/timcera/miniconda3/envs/default311/bin/hsp2", line 8, in <module>
sys.exit(main())
^^^^^^
File "/var/home/timcera/programming/HSPsquared/src/hsp2/hsp2tools/HSP2_CLI.py", line 9, in main
cltoolbox.main()
File "/var/home/timcera/miniconda3/envs/default311/lib/python3.11/site-packages/cltoolbox/cltoolbox.py", line 323, in __call__
return self.execute(sys.argv[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/timcera/miniconda3/envs/default311/lib/python3.11/site-packages/cltoolbox/cltoolbox.py", line 319, in execute
return command(*real_args)
^^^^^^^^^^^^^^^^^^^
File "/var/home/timcera/programming/HSPsquared/src/hsp2/hsp2tools/commands.py", line 26, in run
main(io_manager, saveall=saveall, jupyterlab=compress)
File "/var/home/timcera/programming/HSPsquared/src/hsp2/hsp2/main.py", line 119, in main
state_om_model_run_prep(state, io_manager, siminfo)
File "/var/home/timcera/programming/HSPsquared/src/hsp2/hsp2/om.py", line 206, in state_om_model_run_prep
model_loader_recursive(state["model_data"], model_root_object)
File "/var/home/timcera/programming/HSPsquared/src/hsp2/hsp2/om.py", line 416, in model_loader_recursive
model_object = model_class_loader(object_name, model_props, container)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/timcera/programming/HSPsquared/src/hsp2/hsp2/om.py", line 336, in model_class_loader
model_object = SpecialAction(
^^^^^^^^^^^^^^
File "/var/home/timcera/programming/HSPsquared/src/hsp2/hsp2/om_special_action.py", line 23, in __init__
super().__init__(name, container, model_props)
File "/var/home/timcera/programming/HSPsquared/src/hsp2/hsp2/om_model_object.py", line 87, in __init__
self.parse_model_props(model_props)
File "/var/home/timcera/programming/HSPsquared/src/hsp2/hsp2/om_special_action.py", line 62, in parse_model_props
domain = self.state["model_object_cache"][
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: '/STATE/RCHRES_R110'
The text was updated successfully, but these errors were encountered:
timcera
changed the title
HSPsquared model created from ./tests/ZRW_WestIndian/HSPF.uci
HSPsquared model created from ./tests/ZRW_WestIndian/HSPF.uci fails with KeyError
Oct 3, 2024
hsp2 import_uci ./tests/ZRW_WestIndian/HSPF.uci ./tests/ZRW_WestIndian/ref_run_HSPF.h5
hsp2 run ./tests/ZRW_WestIndian/ref_run_HSPF.h5
fails with the error:
The text was updated successfully, but these errors were encountered: