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
It's technically possible to provide calliope with a JSON/YAML string as the input to override_dict, instead of a dictionary. AttrDict handles this fine, even if it is unexpected. However, it sees it as a pseudo-file and resolves any "imports". This bug corpped up, because the order in which it resolves those imports relative to loading the base file doesn't work as expected (in the case I've seen it on, setting an override on a timeseries filepath at the tech level doesn't filter through).
It's quite niche, you need to only have the model/run config in model.yaml and then everything else loaded as an import via the override dict YAML string as:
What happened?
It's technically possible to provide calliope with a JSON/YAML string as the input to
override_dict
, instead of a dictionary. AttrDict handles this fine, even if it is unexpected. However, it sees it as a pseudo-file and resolves any "imports". This bug corpped up, because the order in which it resolves those imports relative to loading the base file doesn't work as expected (in the case I've seen it on, setting an override on a timeseries filepath at the tech level doesn't filter through).It's quite niche, you need to only have the model/run config in
model.yaml
and then everything else loaded as an import via the override dict YAML string as:Which operating systems have you used?
Version
v0.6.10
Relevant log output
No response
The text was updated successfully, but these errors were encountered: