-
Notifications
You must be signed in to change notification settings - Fork 14
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
Bug report: Application crashed with NotExistentAttributeError #202
Comments
Indeed, the current approach for obtaining the PDOS data does not consider spin-polarised calculations. In this case the output port is not just I don't think @dou-du's widget can currently elegantly plot up and down states (also related to #104). I think the best approach for fixing this issue for now is to add the up and down PDOS together. |
|
@unkcpz indeed, that's the same error I encounter. Working on a fix now. Seems the energy arrays for np.all(np.isclose(proj_down.get_pdos()[0][1], proj_up.get_pdos()[0][1], rtol=0, atol=1e-4)) returns np.all(np.isclose(proj_down.get_pdos()[0][1], proj_up.get_pdos()[0][1], rtol=0, atol=1e-3)) returns |
Note that the DOS will also be split up in |
Another thing to note here: If we really want to represent the results properly, perhaps we should check if the end result is actually magnetic. If not, we should have a non-magnetic representation. |
So, I can't plot both the up and down states with the current So for now we can't distinguish up and down states in the widget. |
@mbercx Thanks for checking this.
I personally will not like this feature. It is too much intelligent to guess and 'correct' what the user wants to do. Maybe they explicitly gonna check the input structure is no magnetism. This is quite normal I guess even if the structure contains the magnetic elements they still reveal the difference between spin up and spin down. |
magnetism metal bandstructure calculation
The input structure is O.cif with bandstructure on and pdos on.
Automated report
This issue was created with the app's automated bug reporting feature.
Attached to this issue is the full traceback as well as an environment
fingerprint that contains information about the operating system as well as all
installed libraries.
Additional comments (optional):
Example: I submitted a band structure calculation for Silica.
Attachments
Traceback
Environment fingerprint
By submitting this issue I confirm that I am aware that this information can
potentially be used to determine what kind of calculation was performed at the
time of error.
The text was updated successfully, but these errors were encountered: