Skip to content

Commit

Permalink
Revert "make step_size for CubicSupercellTransformation.apply_transfo…
Browse files Browse the repository at this point in the history
…rmation …" (#3987)

This reverts commit 123abac.
  • Loading branch information
JaGeo authored Aug 9, 2024
1 parent 123abac commit b01f282
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pymatgen/transformations/advanced_transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1505,10 +1505,6 @@ def apply_transformation(self, structure: Structure) -> Structure:
# boolean for if a sufficiently large supercell has been created
sc_not_found = True

if not self.force_90_degrees:
# prevent a too long search for the supercell
self.step_size *= 5

# target_threshold is used as the desired cubic side lengths
target_sc_size = self.min_length
while sc_not_found:
Expand Down

0 comments on commit b01f282

Please sign in to comment.