-
Notifications
You must be signed in to change notification settings - Fork 873
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
noncollinear attribute of Outcar class has wrong value for VASP calculations with LNONCOLLINEAR=.TRUE. #4031
Comments
could you share the |
Yes. Please check the attached file (Please remove the suffix .txt). |
Thanks. I was able to reproduce this with the OUTCAR attached. Looks like the pattern match failed: pymatgen/src/pymatgen/io/vasp/outputs.py Lines 2114 to 2118 in edcd465
I haven't looked through this part of source code before, wondering why was this |
Though the number of white spaces are hard-coded, this should work. The problem lies at line 2118. Here is the correct code.
|
Yep the logic should be reversed. would fix this. Thanks! |
Python version
Python 3.11.0
Pymatgen version
2024.7.18
Operating system version
Ubuntu 22.04 LTS
Current behavior
I expect that
outcar.noncollinear
isTrue
for noncollinear calculations. But I gotFalse
.Expected Behavior
I expect that
outcar.noncollinear
isTrue
for noncollinear calculations.Minimal example
The text was updated successfully, but these errors were encountered: