Skip to content

Commit 306172d

Browse files
Merge pull request #228 from amcadmus/master
merge bug fixings to master
2 parents f242cbe + c377f85 commit 306172d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
readme = f.read()
1313

1414
# install_requires = ['xml']
15-
install_requires=['numpy>=1.14.3', 'monty', 'scipy', 'h5py', 'wcmatch']
15+
install_requires=['numpy>=1.14.3', 'monty', 'scipy', 'h5py', 'wcmatch', 'importlib_metadata>=1.4; python_version < "3.8"']
1616

1717
setuptools.setup(
1818
name="dpdata",

0 commit comments

Comments
 (0)