From 8e3324b77849a00467fc75f146663ee39201204c Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Thu, 21 Sep 2023 13:26:14 +0200 Subject: [PATCH] List -> list --- src/spikeinterface/extractors/phykilosortextractors.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spikeinterface/extractors/phykilosortextractors.py b/src/spikeinterface/extractors/phykilosortextractors.py index 96c0415c65..05aee160f5 100644 --- a/src/spikeinterface/extractors/phykilosortextractors.py +++ b/src/spikeinterface/extractors/phykilosortextractors.py @@ -1,6 +1,6 @@ from __future__ import annotations -from typing import Optional, List +from typing import Optional from pathlib import Path import numpy as np @@ -37,7 +37,7 @@ class BasePhyKilosortSortingExtractor(BaseSorting): def __init__( self, folder_path: Path | str, - exclude_cluster_groups: Optional[List[str] | str] = None, + exclude_cluster_groups: Optional[list[str] | str] = None, keep_good_only: bool = False, remove_empty_units: bool = False, load_all_cluster_properties: bool = True, @@ -219,7 +219,7 @@ class PhySortingExtractor(BasePhyKilosortSortingExtractor): def __init__( self, folder_path: Path | str, - exclude_cluster_groups: Optional[List[str] | str] = None, + exclude_cluster_groups: Optional[list[str] | str] = None, load_all_cluster_properties: bool = True, ): BasePhyKilosortSortingExtractor.__init__(