-
Notifications
You must be signed in to change notification settings - Fork 15
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
Preparation for aiida 2.x compatibility #40
Comments
@chrisjsewell How is the progress with this? I know that you did some changes regarding this and in my tests it seems to work in |
If you turned on the (off the top of my head) |
cool cool, will explore this! |
Actually it was |
See also https://github.com/aiidateam/aiida-core/wiki/AiiDA-2.0-plugin-migration-guide (and the change log) |
I had found ti in the wiki when talking about migration to version 2 so no worries =) currently checking the deprecation warnings |
@chrisjsewell I think I have managed to get rid of most of the warnings. The only one that I have not managed to figure out what it trying to tell me is the following. Any idea?
|
Never mind I think I figured it out it seems to be that in the test utilities it was calling for |
@chrisjsewell I have managed to get rid of all the deprecation warnings. However, there is an issue with the test for the It seems to be trying to add a file to the retrieved? for stage, (step, rpath) in restart_map.items():
with open(rpath, "rb") as handle:
self.retrieved.base.repository.put_object_from_filelike(
handle, os.path.basename(rpath)
) Which is causing an Exception to be raised
Which seems to just be indicating that you cannot modify a node after it has been stored (which makes sense). However, I have no idea how this was working before if this was the case. As Nodes have always been immutable, there seems that there was a Any idea on how to solve this? Or should we just skip this? After all this calculation is going to be deprecated and replaced with the new calculation methods. You can check my changes in my fork |
@chrisjsewell if you agree I will remove the tests for the |
Closed via #48 . If any other issues are detected they will be solved in individual issues. |
In the develop branch most of the things should be compatible with
aiida-2.x
. But it needs to be thoroughly tested and make sure that no outstanding deprecation warnings are left. The idea of this issue is to act as a placeholder to ensure that we can discuss if anything needs to be done for this.The text was updated successfully, but these errors were encountered: