Structure of the Espresso recipes #1428
Replies: 5 comments 4 replies
-
For #1426 I am not sure about number 5. I think you should make your point on the ASE repo but, if ASE accept both then quacc should accept both? Additionally calling construct_namelist 2 or 3 times to change the flat form to the nested form is not ugly enough to justify additional confusion/annoyance to the user in my opinion. I've set myself a rule that is: everything that is internal to quacc is always done in the nested form (preset, defaults...). Thus, the only time we have to call construct_namelist is on user provided data. We could actually think about tests that enforce this. |
Beta Was this translation helpful? Give feedback.
-
I agree, that's a strict no-no, this was never the philosophy I aimed for, this should have been covered by the tests, thanks for spotting that |
Beta Was this translation helpful? Give feedback.
-
Much cleaner, I didn't think about merge_dict taking more than 2 parameters |
Beta Was this translation helpful? Give feedback.
-
At the beginning I wanted to make sure users understand which espresso binary is used in this phonon job, phonons can be done in many ways (dfpt, fd, md, ...), that's why I started using 'ph' for ph.x jobs. Eventually I got lost in the work but if you are happy about how it is now I have nothing more to say |
Beta Was this translation helpful? Give feedback.
-
@Andrew-S-Rosen Please have a look at: https://gitlab.com/ase/ase/-/merge_requests/3199 This should help to do some important clean up in quacc namely, all the keys stuff |
Beta Was this translation helpful? Give feedback.
-
@tomdemeyere: Before proceeding with #1404, I wanted to take a moment to clean up some of the existing Espresso content, which I did in #1426 and #1427 (now both in
main
).When you get a moment, could you review
main
and let me know if there are any changes/issues with the current implementation? I want to stress that if there are any major problems, I can revert the content in the commits as needed. I am happy to discuss the motivation for the various changes, most of which are relatively minor.Note: I will handle all merge conflicts that arise in #1404.
Beta Was this translation helpful? Give feedback.
All reactions