We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a499a42 + d91af65 commit e979419Copy full SHA for e979419
dpdata/deepmd/comp.py
@@ -110,5 +110,6 @@ def dump(folder,
110
except OSError:
111
pass
112
if data.get("nopbc", False):
113
- os.mknod(os.path.join(folder, "nopbc"))
+ with open(os.path.join(folder, "nopbc"), "w") as fw_nopbc:
114
+ pass
115
dpdata/deepmd/raw.py
@@ -74,5 +74,6 @@ def dump (folder, data) :
74
75
76
77
78
79
0 commit comments