-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running solve_models()
on a pastastore
#66
Comments
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.The text was updated successfully, but these errors were encountered: