diff --git a/structuretoolkit/analyse/spatial.py b/structuretoolkit/analyse/spatial.py index a86cc87a4..6ed07dd80 100644 --- a/structuretoolkit/analyse/spatial.py +++ b/structuretoolkit/analyse/spatial.py @@ -378,7 +378,7 @@ def get_interstitials( def get_layers( structure: Atoms, distance_threshold: float = 0.01, - id_list: list = None, + id_list: Optional[list[int]] = None, wrap_atoms: bool = True, planes: np.ndarray = None, cluster_method: str = None,