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

Remove the FrozenDict data sub class #2532

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Feb 25, 2019

Fixes #2526

The FrozenDict class was added to allow ProcessNode instances to be
passed to Process classes. However, its implementation is flawed as it
uses the pks of the nodes it wraps, which are not persistent across
databases and as such provenance will be lost when it is imported. We
remove the source code here. In a future commit, it will have to be
decided how to migrate existing data.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 69.749% when pulling c43e4fee8175443494b0d3d4ed81e83b88df0fcb on sphuber:fix_2526_remove_frozen_dict_data_class into 562935c on aiidateam:provenance_redesign.

@coveralls
Copy link

coveralls commented Feb 25, 2019

Coverage Status

Coverage decreased (-0.02%) to 69.784% when pulling 97c5b30 on sphuber:fix_2526_remove_frozen_dict_data_class into a3e36e5 on aiidateam:provenance_redesign.

The `FrozenDict` class was added to allow `ProcessNode` instances to be
passed to `Process` classes. However, its implementation is flawed as it
uses the pks of the nodes it wraps, which are not persistent across
databases and as such provenance will be lost when it is imported. We
remove the source code here. In a future commit, it will have to be
decided how to migrate existing data.
@sphuber sphuber force-pushed the fix_2526_remove_frozen_dict_data_class branch from c43e4fe to 97c5b30 Compare February 26, 2019 06:11
@sphuber sphuber merged commit 6315c6e into aiidateam:provenance_redesign Feb 26, 2019
@sphuber sphuber deleted the fix_2526_remove_frozen_dict_data_class branch February 26, 2019 06:53
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

3 participants