Skip to content

Commit

Permalink
Format black
Browse files Browse the repository at this point in the history
  • Loading branch information
pyiron-runner committed Jul 17, 2024
1 parent 892f374 commit 15c5e53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion structuretoolkit/analyse/phonopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ def get_equivalent_atoms(
positions = np.reshape(np.array(positions), (natom, 3))
cell = np.reshape(np.array(cell), (3, 3))
unitcell = PhonopyAtoms(symbols=types, cell=cell, scaled_positions=positions)
ops = spg.get_symmetry(cell=unitcell.totuple(), symprec=symprec, angle_tolerance=angle_tolerance)
ops = spg.get_symmetry(
cell=unitcell.totuple(), symprec=symprec, angle_tolerance=angle_tolerance
)
return ops["equivalent_atoms"]

0 comments on commit 15c5e53

Please sign in to comment.