Skip to content

Commit

Permalink
chore: fix types issues
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Dec 18, 2024
1 parent 5676be2 commit fd0d541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/py/mat3ra/made/tools/build/slab/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ class SlabBuilder(ConvertGeneratedItemsPymatgenStructureMixin, BaseBuilder):
_ConfigurationType: type(SlabConfiguration) = SlabConfiguration # type: ignore
_GeneratedItemType: PymatgenSlab = PymatgenSlab # type: ignore
_SelectorParametersType: type(SlabSelectorParameters) = SlabSelectorParameters # type: ignore
__configuration: SlabConfiguration = SlabConfiguration()
__configuration: SlabConfiguration

def _generate(self, configuration: _ConfigurationType) -> List[_GeneratedItemType]: # type: ignore
generator = PymatgenSlabGenerator(
initial_structure=to_pymatgen(configuration.bulk),
miller_index=configuration.miller_indices,
min_slab_size=configuration.thickness,
min_vacuum_size=1,
min_vacuum_size=0,
in_unit_planes=True,
reorient_lattice=True,
primitive=configuration.make_primitive,
Expand Down

0 comments on commit fd0d541

Please sign in to comment.