-
Notifications
You must be signed in to change notification settings - Fork 83
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
Updated the protocols to accomodate the suggestions proposed on issue #959 in aiidalab_qe. #1052
Conversation
…zi on issue aiidateam#959 in aiidalab_qe
Could you test with a magnetic system as well ? |
Sure, I can. Will do, and update thanks for the suggestion. |
Thank you , I suggested this since i think the projwfc.x calculation doest parse properly total PDOS for magnetic systems |
Just a small update. You are right (@AndresOrtegaGuerrero ) projwfc.x calculation parses DOS for spin-up as total dos. I will look into that. For spin up it seems that is fine. |
thank you @Minotakm could you maybe update the PR to merged it |
@Minotakm could you update the tests with the changes ,
|
@AndresOrtegaGuerrero should be fine now. |
This ones too
|
Here as well ,
for namespace, occupations in zip((builder.scf, builder.nscf), ('fixed', 'tetrahedra')):
parameters = namespace['pw']['parameters'].get_dict()
assert parameters['SYSTEM']['occupations'] == occupations
assert 'degauss' not in parameters['SYSTEM']
assert 'smearing' not in parameters['SYSTEM'] |
Should be there. |
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.
LGTM! thank you @Minotakm
@edan-bainglass if you needed this change urgently, please let me know and/or merge the commit with a more sensible commit message next time. This is not explaining anything, and the "issue" that is referred to is actually an unrelated PR. We try hard to keep a good commit history around here. @Minotakm can you write a commit message on what problem the changes in this PR try to solve, and what was changed and why? Then I can amend c5617c0. |
Apologies @mbercx 🙏 Great if we can document these commit rules. The "unrelated" PR is referenced by @Minotakm in the description of this PR, which I used for the commit message. Anyhow, as you suggest, I'll disregard your vacation status next time and bother you with work 👍 Let me practice now by asking you to make a release, so we can include the change in the app. That'd be bonza 💪 Cheers mate 🦘 |
Hey all,
There is an ongoing discussion regarding why the DOS sometimes misses peaks at low energies and why PDOS and DOS results can differ. The discussion concluded with the following changes:
DeltaE
value to 0.01 in the DOS protocol.tetrahedra
totetrahedra_opt
.Following that I did some tests, where here we can see that the low peak now is tracked.
![image](https://private-user-images.githubusercontent.com/81564349/396478173-1ef1e87a-0ec4-4e3e-bfb6-9746ec16f4a1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4ODkxMjYsIm5iZiI6MTczODg4ODgyNiwicGF0aCI6Ii84MTU2NDM0OS8zOTY0NzgxNzMtMWVmMWU4N2EtMGVjNC00ZTNlLWJmYjYtOTc0NmVjMTZmNGExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDAwNDAyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQxMDhjYWZmYTRhZDNjMjI1NzNiYzFmMTQ1ZjBmMWVmYmZkYzgzZDkxMWIwMjhlMWM0MjNjNTFjMjJlNDhlZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.I5bzbXMUifPkqULoc0lbl6zqMjv_IbSEvhd4QgzSXV4)
Additionally, the DOS calculated with dos.x, projwfc.x, and the sum of the projections from pDOS are now consistent.
![image](https://private-user-images.githubusercontent.com/81564349/396479126-039d6873-3569-4b23-a79a-784f0585c693.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4ODkxMjYsIm5iZiI6MTczODg4ODgyNiwicGF0aCI6Ii84MTU2NDM0OS8zOTY0NzkxMjYtMDM5ZDY4NzMtMzU2OS00YjIzLWE3OWEtNzg0ZjA1ODVjNjkzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDAwNDAyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVjYzZiOTk3ZWQwZjdhMzExOWE5NzdlNTc1Yjg2NmRiZWVlYzNhMTBiOTBkMGIxMWQ2OWQwMDBiNGNiMjAzYjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DF2W1RxeClY2lV91zdXA5KioUOnUUTfl1cFx4xmmuWo)
Furthermore, I updated the
PdosWorkChain
to check for thetetrahedra
parameters.Closes aiidalab/aiidalab-qe#959