diff --git a/pymatgen/analysis/defects/core.py b/pymatgen/analysis/defects/core.py index 414e63ce..705a4b02 100644 --- a/pymatgen/analysis/defects/core.py +++ b/pymatgen/analysis/defects/core.py @@ -15,7 +15,6 @@ from pymatgen.core import Element, PeriodicSite, Species from pymatgen.core.periodic_table import DummySpecies from pymatgen.symmetry.analyzer import SpacegroupAnalyzer -from typing_extensions import Self from .utils import get_plane_spacing @@ -23,6 +22,7 @@ from numpy.typing import ArrayLike from pymatgen.core import Structure from pymatgen.symmetry.structure import SymmetrizedStructure + from typing_extensions import Self # TODO Possible redesign idea: ``DefectSite`` class defined with a defect object. # This makes some of the accounting logic a bit harder since we will probably