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

emptying models library should also delete oseries_models links

dbrakenhoff opened this issue · comments

The oseries_models should be deleted as well.

pstore.empty_library("models")

pstore.oseries_models  # still contains references to deleted models

Fix is probably to also delete oseries_models if libname="models" was passed.