Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed May 25, 2024
1 parent cee86bd commit 85b35d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mddatasetbuilder/deepmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _searchpath(self):
self._preparedeepmdforLOG, tqdm(logfiles, disable=None)
):
multi_systems.append(system)
multi_systems.to_deepmd_npy(self.deepmd_dir)
multi_systems.to_deepmd_npy(self.deepmd_dir) # type: ignore
for formula, system in multi_systems.systems.items():
self.system_paths.append(os.path.join(self.deepmd_dir, formula))
self.batch_size.append(
Expand Down
2 changes: 1 addition & 1 deletion mddatasetbuilder/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def _crd2bond(cls, step_atoms, readlevel):
bond[s2].append(level)
return bond

def readcrd(self, item) -> tuple[Atoms, List[int]]:
def readcrd(self, item) -> Tuple[Atoms, List[int]]:
"""Only this function can read coordinates."""
lines = item
# box information
Expand Down

0 comments on commit 85b35d1

Please sign in to comment.