Open TheOneAndra opened 3 years ago
A solution would be to ignore if the key KPI
is not in the dict_values
--> add an if
statement before if not isinstance(dict_values[KPI][kpi], pd.DataFrame):
if KPI in dict_values:
if not isinstance(dict_values[KPI][kpi], pd.DataFrame):
# of course indent accordingly
Changes in B0_data_input_json.py line 29:
line 343:
These changes result in a simulation termination:
The log stops at:
And indeed in _mvs_csvconfig.json there is no KPI.
Would the solution be to add an exception when loading _mvs_csvconfig.json ?