Skip to content

Commit 2697081

Browse files
committed
fix
1 parent bfc5891 commit 2697081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openqdc/datasets/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def save_xyz(self, idx: int, path: Optional[str] = None):
283283
"""
284284
if path is None:
285285
path = os.getcwd()
286-
at = self.get_xyz(idx, ext=True)
286+
at = self.get_ase_atoms(idx, ext=True)
287287
name = at.info["name"]
288288
write_extxyz(p_join(path, f"{name}.xyz"), at)
289289

0 commit comments

Comments
 (0)