pastas / pastastore

:spaghetti: :convenience_store: Tools for managing timeseries and Pastas models
https://pastastore.readthedocs.io
MIT License
15 stars 4 forks source link

Error when loading from zip with stress names consisting of only numeric characters #73

Closed dbrakenhoff closed 1 year ago

dbrakenhoff commented 1 year ago

Somewhere on load the numeric character name is converted to an int, which causes an error when pastastore checks whether the oseries or stress is contained in the index (which is of type str).

A quick fix to wrap s["name"] with str() in self.check_stresses_in_store() is sufficient?

dbrakenhoff commented 1 year ago

Should be fixed by #74

dbrakenhoff commented 1 year ago

Closing issue.