pastas / pastastore

:spaghetti: :convenience_store: Tools for managing timeseries and Pastas models

Home Page:https://pastastore.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

dbrakenhoff opened this issue · comments

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?

Should be fixed by #74

Closing issue.