-
Notifications
You must be signed in to change notification settings - Fork 80
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
Update to qe-tools 2.0.0rc1. #529
Conversation
65bd490
to
53dc4a1
Compare
@sphuber when you have time, could you take a look at this? If you'd prefer a fully released version of |
Hey @greschd sorry for the delay. I think it would be better to wait for |
fa6f7e2
to
6a0cf8c
Compare
Would As far as releasing What do think about the interface changes in |
6a0cf8c
to
6f5c083
Compare
@greschd what is the status of |
Well, this is a bit of a chicken-egg problem: I'd want to get feedback on this PR before releasing I'm not sure if the "inconsistencies in physical constants" issue would still need fixing before release. The interface is now adapted so that we can handle multiple QE versions, so we could also fix the inconsistency itself later. |
It would definitely be nice if we could get this PR and #503 (blocked only by this one) in though - if nothing else, so I can cross them off my mental to-do list 😄 |
Right, if you can update the branch and resolve the conflict I will merge this. Let's get this show on the road |
The constants defined previously in 'qe_tools.constants' are now a SimpleNamespace, importable as 'qe_tools.CONSTANTS'. Furthermore, the 'PwInputFile' no longer accepts file handles or file names as input, just a single string containing the file contents. This is propagated through to the aiida-quantumespresso InputFile classes.
6f5c083
to
604c2b9
Compare
Ready to rock 🤘 |
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.
Rock on
Updating the
qe-tools
dependency to the release candidate version2.0.0rc1
.Significant changes:
qe_tools.constants
are now a SimpleNamespace, importable asqe_tools.CONSTANTS
.PwInputFile
no longer accepts file handles or file names as input, just a single string containing the file contents. This is propagated through to the aiida-quantumespressoInputFile
classes.@sphuber is it ok to change this also here, or should we add an
__init__
topwinputparse.PwInputFile
that implements the current behavior?