Skip to content

Commit

Permalink
fix: fix a typo in #702 (#710)
Browse files Browse the repository at this point in the history
<!-- 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 <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz committed Sep 3, 2024
1 parent f4d0adf commit 5df6acd
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 5df6acd

Please sign in to comment.