Skip to content

Commit 132c0ba

Browse files
committed
fix chemical symbols
1 parent 81f34d4 commit 132c0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structuretoolkit/common/phonopy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def phonopy_to_atoms(ph_atoms) -> Atoms:
1111
1212
"""
1313
return Atoms(
14-
symbols=list(ph_atoms.get_chemical_symbols()),
14+
symbols=list(ph_atoms.symbols),
1515
positions=list(ph_atoms.get_positions()),
1616
cell=list(ph_atoms.cell),
1717
pbc=True,

0 commit comments

Comments
 (0)