Skip to content

Commit

Permalink
transpose matrix (materialsproject#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaGeo authored Jun 4, 2024
1 parent 760e537 commit 8016942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/atomate2/common/jobs/phonons.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ def get_supercell_size(
)
transformation.apply_transformation(structure=structure)

return transformation.transformation_matrix.tolist()
# matrix from pymatgen has to be transposed
return transformation.transformation_matrix.transpose().tolist()


@job(data=[Structure])
Expand Down

0 comments on commit 8016942

Please sign in to comment.