Skip to content
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

Fix bug in reading pwmat/movement #598

Closed
wants to merge 3 commits into from
Closed

Conversation

lhycms
Copy link
Contributor

@lhycms lhycms commented Jan 22, 2024

PWmat adds nonperiodic_Position block to MOVEMENT file, used to output the atomic positions without non periodic boundary conditions.
Due to the fact that dpdata previously locates the number of atoms based on the keyword Position, when MOVEMENT contains nonperiodic_Position, it will cause the number of atoms to double, resulting in a bug.

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (18a0ed5) 82.81% compared to head (623043d) 83.17%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #598      +/-   ##
==========================================
+ Coverage   82.81%   83.17%   +0.36%     
==========================================
  Files          73       73              
  Lines        6580     6580              
==========================================
+ Hits         5449     5473      +24     
+ Misses       1131     1107      -24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lhycms lhycms closed this Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant