Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug when reading file in "pwmat/movement" format (#599)
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. --------- Co-authored-by: Uper <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information