Skip to content

Commit

Permalink
pre-commit auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and Tinaatucsd committed Jan 28, 2025
1 parent 8009a09 commit 107336b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/pymatgen/transformations/standard_transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,17 +465,15 @@ def __init__(self, algo=ALGO_FAST, symmetrized_structures=False, no_oxi_states=F
ordering.
occ_tol (float): Occupancy tolerance. If the total occupancy of a group is within this value
of an integer, it will be rounded to that integer otherwise raise a ValueError.
Defaults to 0.25.
Defaults to 0.25.
"""
self.algo = algo
self._all_structures: list = []
self.no_oxi_states = no_oxi_states
self.symmetrized_structures = symmetrized_structures
self.occ_tol = occ_tol

def apply_transformation(
self, structure: Structure, return_ranked_list: bool | int = False
) -> Structure:
def apply_transformation(self, structure: Structure, return_ranked_list: bool | int = False) -> Structure:
"""For this transformation, the apply_transformation method will return
only the ordered structure with the lowest Ewald energy, to be
consistent with the method signature of the other transformations.
Expand Down

0 comments on commit 107336b

Please sign in to comment.