Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 27, 2024
1 parent e75fa24 commit dc16c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orix/tests/test_phase_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def test_atom_positions(self, lat, atoms):
phase = Phase(structure=structure)
# xyz_cartn is independent of basis
assert np.allclose(phase.structure.xyz_cartn, structure.xyz_cartn)

# however, Phase should (in many cases) change the basis.
if np.allclose(structure.lattice.base, phase.structure.lattice.base):
# In this branch we are in the same basis & all atoms should be the same
Expand Down

0 comments on commit dc16c1a

Please sign in to comment.