Skip to content

Commit 56684e9

Browse files
committed
fix type hint
1 parent d36bc2f commit 56684e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ibllib/pipes/misc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import shutil
44
from pathlib import Path
55
import re
6-
from typing import Union
6+
from typing import Union, List
77

88
import iblutil.io.params as params
99
from one.alf.spec import is_uuid_string, is_session_path
@@ -347,7 +347,7 @@ def confirm_ephys_remote_folder(
347347
check_create_raw_session_flag(remote_session_path)
348348

349349

350-
def probe_labels_from_session_path(session_path: Union[str, Path]) -> list[str]:
350+
def probe_labels_from_session_path(session_path: Union[str, Path]) -> List[str]:
351351
"""
352352
Finds ephys probes according to the metadata spikeglx files. Only returns first subfolder
353353
name under raw_ephys_data folder, ie. raw_ephys_data/probe00/copy_of_probe00 won't be returned

0 commit comments

Comments
 (0)