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

Merge master after release of v0.11.4 into release_v0.12.0 #1376

Merged
merged 11 commits into from
Apr 4, 2018

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Apr 4, 2018

Also removed the duplicate entries from v0.12.0 change log that
have now been backported and released in v0.11.4

sphuber added 11 commits April 3, 2018 17:34
This was merged into develop with PR #1073 but needs to be
back ported into release v0.11.4
The user is free to populate the context with Node instances, which
means that if the WorkChain needs to be persisted that the nodes
need to be serialized. Since the nodes are not necessarily stored
upon calling save_instance_state, we also store them if they were
not yet stored. We also use this opportunity to replace the ad hoc
serialization in the pickle persister and use the new more complete
serializer and deserializer.
This release of plumpy fixes an issue where the inputs of a process
are recreated each time when loaded from a persisted state, meaning
that inputs that were not explicitly specified but taken from the
spec's default will be recreated. For default nodes in aiida-core
this means that the nodes are duplicated multiple times
The verdi work list test that compared the output with and without
the -a flag was failing sometimes, simply because the order was
wrong but the exact string was compared. Sorting by code id will
fix the order and this breaking test
This is an issue in plumpy that was also fixed there.
The parsed inputs of a Process, which is returned by calling self.inputs,
were being rebuilt from the raw inputs everytime the process was loaded
from a persisted state. This meant that inputs that were not explicitly
passed by the user and were populated with the defaults specified by the
port, were being recreated upon reloading the instance. However, they
should have been the ones that were created when the process was created
the first time around. Therefore we persist the parsed inputs to the saved
state and reload them instead of recreating them with `create_input_args`
Also removed the duplicate entries from v0.12.0 change log that
have now been backported and released in v0.11.4
@sphuber sphuber requested review from ltalirz and giovannipizzi April 4, 2018 07:14
@sphuber sphuber merged commit bdf974b into release_v0.12.0 Apr 4, 2018
@sphuber sphuber deleted the merge_master_into_release_v0.12.0 branch April 4, 2018 08:19
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.

2 participants