Skip to content

Commit 633e7bd

Browse files
authored
switch to attr access interface for transformation matrix (#3964)
1 parent 660ba7a commit 633e7bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pymatgen/core/tensors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def get_ieee_rotation(
413413
# Check conventional setting:
414414
sga = SpacegroupAnalyzer(structure)
415415
dataset = sga.get_symmetry_dataset()
416-
trans_mat = dataset["transformation_matrix"]
416+
trans_mat = dataset.transformation_matrix
417417
conv_latt = Lattice(np.transpose(np.dot(np.transpose(structure.lattice.matrix), np.linalg.inv(trans_mat))))
418418
xtal_sys = sga.get_crystal_system()
419419

0 commit comments

Comments
 (0)