Closed OnnoEbbens closed 2 years ago
I'm not getting this error... The code above the for loop refers to model_names:
if mls is None:
mls = self.conn.model_names
elif isinstance(mls, ps.Model):
mls = [mls.name]
Are you sure you're not on an older version?
I get the error when I run notebook 3 from the hydropandas examples using pastastore version 0.7.0.
Ah my bad, this was fixed in dev, but not yet in the latest release (0.7.0). I should probably make a new release.
I think you can revert your change and use the dev version.
Ah yes sorry should have checked that first.
I reverted the changes
When I run
pstore.solve_models()
I get this error:I think the error occurs since version 0.7.0 because
pstore.conn.models
returns apastastore.base.ModelAccessor
now instead of a list.