-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fixed reading of n, l, zeta in hsx_read_specie1 #462
Conversation
Codecov Report
@@ Coverage Diff @@
## main #462 +/- ##
==========================================
+ Coverage 86.81% 86.83% +0.01%
==========================================
Files 346 346
Lines 44107 44134 +27
==========================================
+ Hits 38293 38322 +29
+ Misses 5814 5812 -2
Continue to review full report at Codecov.
|
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.
Great! And thanks for testing!!!
@ahkole something unrelated, I think your email address on your local machine does not match your github accounts email address. The point is that github cannot recognize your commits and thus you will not be attributed in the github history (I would prefer to acknowledge your work, but I can't do anything here...) FYI! |
@zerothi yes, that may be correct. I usually commit using my university email address but I created this GitHub account a long time ago with my personal email address so that's probably responsible for the mismatch. But I wasn't aware that GitHub then cannot attribute commits to my account, thanks for letting me know! I will try to add my university address as a secondary email to my account and hopefully GitHub will then be able to properly recognize the commits. |
Yeah, it isn't exactly clear to me how this works, but I think you could check it by making a fake branch and commit some things there, then see if your user-name pops up. |
I think it even works retroactively because I just added my university email to my account and now this commit https://github.com/zerothi/sisl/pull/462/commits does show a proper link to my account :) |
Even better! Great! |
@juijan and I noticed that the reading of the quantum numbers of the orbitals (n, l, zeta) from the HSX file does not work correctly for HSX file version 1. There is an inconsistency between the ordering of the number during reading and writing. The writing routine (
write_hsx
inio_hsx.F90
) writes them in the ordern(1), l(1), zeta(1), n(2), l(2), zeta(2), ...
, while the reading routine expects it in the ordern(1), n(2), ..., l(1), l(2), ..., zeta(1), zeta(2), ...
. This PR fixes the reading routine to use the same ordering.