Skip to content

Commit

Permalink
chore: type fix 4
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Jan 1, 2025
1 parent 2fd7c15 commit c10aa41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/py/mat3ra/made/tools/build/defect/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,10 @@ class VoronoiInterstitialPointDefectBuilder(PointDefectBuilder):
VoronoiInterstitialPointDefectBuilderParameters
) = VoronoiInterstitialPointDefectBuilderParameters # type: ignore
_DefaultBuildParameters = VoronoiInterstitialPointDefectBuilderParameters() # type: ignore
_GeneratedItemType = PymatgenStructure

def _generate(self, configuration: BaseBuilder._ConfigurationType) -> List[_GeneratedItemType]: # type: ignore
def _generate(
self, configuration: BaseBuilder._ConfigurationType
) -> List[type(PointDefectBuilder._GeneratedItemType)]: # type: ignore
pymatgen_structure = to_pymatgen(configuration.crystal)
voronoi_gen = PymatgenVoronoiInterstitialGenerator(
**self.build_parameters.dict(),
Expand Down

0 comments on commit c10aa41

Please sign in to comment.