@lucfr the containerized version of extremes.py does not yet run.
ModuleNotFoundError: No module named **'dev'**
File "/usr/local/lib/python3.10/site-packages/streamlit/scriptrunner/script_runner.py", line 557, in _run_script
exec(code, module.__dict__)
File "extremes.py", line 312, in <module>
fire.Fire(main_app)
File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/usr/local/lib/python3.10/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "extremes.py", line 304, in main_app
flood_model(dataManager, config)
File "extremes.py", line 243, in flood_model
hg_model_runs = create_model_runs_list(all_kge_canal_par_df, kge, canal_flow_scale, canal_area, x, advance_pump, maxdh)
File "extremes.py", line 151, in create_model_runs_list
import dev.drain_cap as drain_cap
The problem is, that the path /dev is formally not part of the ruins package. If there are some modules and/or functions still implemented there, you need to move them inside the package. Depending on what the functions do, use the /ruins/processing or / ruins/plotting` path.
Thanks!
@lucfr the containerized version of
extremes.py
does not yet run.The problem is, that the path
/dev
is formally not part of the ruins package. If there are some modules and/or functions still implemented there, you need to move them inside the package. Depending on what the functions do, use the/ruins/processing
or / ruins/plotting` path. Thanks!