Closed irm-codebase closed 1 week ago
Calliope's Model class initialization has a debug parameter with the following description:
Model
debug (bool, optional): If True, additional debug data will be included in the built model. Defaults to False.
At the moment, this parameter is completely unused by the code.
We check for model_data.attrs["_debug_data"] in other parts of the code, and for now it seems like this functionality won't work at all.
model_data.attrs["_debug_data"]
v0.7
No response
Yeah, we need to purge that. Debug info is all available via the logger (and you can store that in a file following our tutorial: https://calliope.readthedocs.io/en/latest/examples/calliope_logging/)
What happened?
Calliope's
Model
class initialization has a debug parameter with the following description:At the moment, this parameter is completely unused by the code.
We check for
model_data.attrs["_debug_data"]
in other parts of the code, and for now it seems like this functionality won't work at all.Which operating systems have you used?
Version
v0.7
Relevant log output
No response