diff --git a/pymatgen/core/structure.py b/pymatgen/core/structure.py index 3efa3902025..d75965c692b 100644 --- a/pymatgen/core/structure.py +++ b/pymatgen/core/structure.py @@ -357,6 +357,11 @@ def formula(self) -> str: """Returns the formula as a string.""" return self.composition.formula + @property + def alphabetical_formula(self) -> str: + """Returns the formula as a string.""" + return self.composition.alphabetical_formula + @property def elements(self) -> list[Element | Species | DummySpecies]: """Returns the elements in the structure as a list of Element objects."""