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
First step is to create a test that reproduces this error. That isn't super straightforward, as there are no existing tests of payu.experiment.run, but it should be possible to instantiate a solo Model and assert that model.required_libs exists and is a dict.
Populating the required_libs should probably be moved to payu.models.model.setup, and payu.models.model.required_libs should be initialised to an empty dict in payu.models.model.init, somewhere here:
Solo models break with functionality introduced in #351 because their config is never populated with
required_libs
.The error looks like this
and occurs for configs with a single solo model, like MOM6-CICE6.
Each of the sub-models config has the correct information injected here:
https://github.com/payu-org/payu/blob/master/payu/experiment.py#L143
but this not done if there is a solo model.
The text was updated successfully, but these errors were encountered: