-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support AiiDA v2.6 - take 2 #96
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #96 +/- ##
==========================================
+ Coverage 92.71% 92.82% +0.11%
==========================================
Files 9 9
Lines 453 460 +7
==========================================
+ Hits 420 427 +7
Misses 33 33 ☔ View full report in Codecov by Sentry. |
@PhilippRue I think I've finally figured out how tu support AiiDA v2.6. It would be great if you could test this branch in your test suite, both with aiida 2.6 and (at least one) earlier version. Thanks! |
@@ -269,7 +269,7 @@ def mock_objects_to_hash_calcjob(self): | |||
if key not in self._hash_ignored_attributes and key not in self._updatable_attributes | |||
}, | |||
{ | |||
entry.link_label: entry.node.base.caching.get_hash() | |||
entry.link_label: entry.node.base.caching.compute_hash() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is due to aiidateam/aiida-core#6347
Relevant aiida-core changes / PRs:
get_hash
tocompute_hash
aiida-core#6347CACHE_VERSION
attribute toCalcJob
andParser
aiida-core#6328NodeCaching._get_objects_to_hash
return type todict
aiida-core#6323Partly addresses #71. Closes #80