Skip to content

Commit

Permalink
fix: fix a typo in deepmodeling#702
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Sep 2, 2024
1 parent f4d0adf commit 7e8ca4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpdata/deepmd/comp.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def dump(folder, data, set_size=5000, comp_prec=np.float32, remove_sets=True):
dtypes = dpdata.system.LabeledSystem.DTYPES
else:
dtypes = dpdata.system.System.DTYPES
for dtype in dpdata.system.LabeledSystem.DTYPES:
for dtype in dtypes:
if dtype.name in (
"atom_numbs",
"atom_names",
Expand Down

0 comments on commit 7e8ca4f

Please sign in to comment.