-
Notifications
You must be signed in to change notification settings - Fork 10
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
Tinybase: Rework storage interface #738
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Previously Storable implementions of `AbstractTask` and `TinyJob` simply pickled everything at the highest level because some ASE objects couldn't be written directly with the Storable interface. This change adds some functionality to GenericStorage that will automatically detect such objects and pickle only those transparently to the rest of tinybase. As such the full object hierarchy is now represented in storage and neither tasks nor jobs need to know whether some internal objects of theirs have been pickled. It also adds some amount of docstrings and specs to the storage related classes.
FileHDFio raises also that
Pull Request Test Coverage Report for Build 6297948464
💛 - Coveralls |
It is not available in the testing env
@liamhuber This fixes now most of the CI problems with tinybase. The last error is related to some environment hacks. I had added a pyiron |
Previously Storable implementions of
AbstractTask
andTinyJob
simplypickled everything at the highest level because some ASE objects
couldn't be written directly with the Storable interface. This change
adds some functionality to GenericStorage that will automatically detect
such objects and pickle only those transparently to the rest of
tinybase. As such the full object hierarchy is now represented in
storage and neither tasks nor jobs need to know whether some internal
objects of theirs have been pickled.
It also adds some amount of docstrings and specs to the storage related
classes.
Pending #734