Oasis Models producing `Deprecated key` warnings after keys are updated
Charlie-Farrar opened this issue · 0 comments
Charlie-Farrar commented
Issue Description
When running the Oasis Models, they give back a Deprecated key in analysis_settings.json
warning for the keys model_supplier_id
and model_name_id
:
Deprecated key in analysis_settings.json, "module_supplier_id" updated to "model_supplier_id"
Deprecated key in analysis_settings.json, "model_version_id" updated to "model_name_id"
Both of these keys have been update in analysis_settings.json
, however, this warning persists.
This appears to be originating from:
ODS_Tools/ods_tools/oed/setting_schema.py
Line 136 in cbd95cd
and
ODS_Tools/ods_tools/oed/setting_schema.py
Lines 247 to 253 in cbd95cd
Steps to Reproduce (Bugs only)
- Pull OasisModels repo
- Navigate to {any model}/tests/test_x and run
oasislmf model run --config oasislmf.json
- This will produce the warnings
Version / Environment information
1.28