forked from deepmodeling/deepmd-kit
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug in make_supercell_abacus (deepmodeling#1212)
The `from_struct["atom_types"]` used to be a list but was changed to numpy array lately, thereby introducing a bug in `make_supercell_abacus` function. Also, the key `types` is changed to `atom_types` outside the function, but not changed in the function. This commit fix the two bugs. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
- Loading branch information
1 parent
0aec52e
commit b0c1271
Showing
1 changed file
with
36 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters