Skip to content

Commit 5df6acd

Browse files
authored
fix: fix a typo in #702 (#710)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Improvements** - Enhanced the flexibility of data handling by modifying how data types are processed, allowing for better adaptability based on context. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <[email protected]>
1 parent f4d0adf commit 5df6acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpdata/deepmd/comp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def dump(folder, data, set_size=5000, comp_prec=np.float32, remove_sets=True):
180180
dtypes = dpdata.system.LabeledSystem.DTYPES
181181
else:
182182
dtypes = dpdata.system.System.DTYPES
183-
for dtype in dpdata.system.LabeledSystem.DTYPES:
183+
for dtype in dtypes:
184184
if dtype.name in (
185185
"atom_numbs",
186186
"atom_names",

0 commit comments

Comments
 (0)