Skip to content
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

Replace object references with soft links #21

Merged
merged 2 commits into from
Jan 16, 2020
Merged

Conversation

youngmit
Copy link
Contributor

This replaces the use of object references to handle HDF5 attributes
that are too large to store naturally. This is because object references
break when copying an object that contains them to a new HDF5 file, as
is done in mergeHistory(). Instead, we use a simple string to refer to
the targed dataset like "@[path/to/dataset]".

This replaces the use of object references to handle HDF5 attributes
that are too large to store natrually. This is because object references
break when copying an object that contains them to a new HDF5 file, as
is done in mergeHistory(). Instead, we use a simple string to refer to
the targed dataset like "@[path/to/dataset]".
@youngmit youngmit requested a review from ntouran January 16, 2020 18:13
Copy link
Member

@ntouran ntouran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Great fixes and test.

armi/bookkeeping/db/database3.py Show resolved Hide resolved
@youngmit youngmit merged commit 360aed0 into master Jan 16, 2020
@youngmit youngmit deleted the mty/dbAttrSoftLinks branch January 16, 2020 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants