Skip to content

Commit 870ca25

Browse files
authored
fix a typo in deepmd/hdf5 (#226)
1 parent 24ff734 commit 870ca25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpdata/deepmd/hdf5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ def dump(f: h5py.File,
146146
set_folder.create_dataset('%s.npy' % prop['fn'], data=reshaped_data[dt][set_stt:set_end])
147147

148148
if nopbc:
149-
g.create_dataset("nopbc", True)
149+
g.create_dataset("nopbc", data=True)

0 commit comments

Comments
 (0)