Closed adair-nicolson closed 2 years ago
Looks good to me. I guess this has gone unnoticed because in the test DOSCAR only contains one atom.... @espenfl
@adair-nicolson Thanks a lot for detecting and submitting this fix. I agree with @zhubonan.
@adair-nicolson Can you also update the test that fail? Let me know if you need some help with it.
Base: 80.40% // Head: 80.41% // Increases project coverage by +0.01%
:tada:
Coverage data is based on head (
42c6cae
) compared to base (db19067
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@espenfl I think this is ready to go now!
@adair-nicolson Thanks a lot. Merged. Sorry for the delay.
The pdos for each ion is set to the pdos of the first ion in the DOSCAR
https://github.com/aiida-vasp/parsevasp/blob/db19067dac597a477d52691b4f8aecdd3d31e1f3/parsevasp/doscar.py#L220-L223
I think this is the source of the error. During the for loop the pdos of the first ion in the
DOSCAR
is read in for each ion. I have a fix, but I don't know if it is the most elegant solution.