-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(BasicCont): make history an h5 attribute
add_history previously accepted single-level dictionaries only and they were added as attributes to the history group. This was a simply solution to dictionary de-/serialization with json). Now that we support full de-/serialization of dictionaries using json, the history feature was broken. To make it usable again, the history is now not a group anymore, but an attribute, so that dictionaries of any depth can be added. Reading the old history format is still supported but creates a deprecation warning.
- Loading branch information
Showing
2 changed files
with
64 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters