Skip to content

Commit b25460f

Browse files
authored
undefined varaible ibl extractor (#2906)
1 parent f9e714f commit b25460f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/spikeinterface/extractors/iblextractors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(
139139
pid: str | None = None,
140140
stream_name: str | None = None,
141141
load_sync_channel: bool = False,
142-
cache_folder: Optional[Union[Path, str]] = None,
142+
cache_folder: Optional[Path | str] = None,
143143
remove_cached: bool = True,
144144
stream: bool = True,
145145
one: "one.api.OneAlyx" = None,
@@ -165,7 +165,7 @@ def __init__(
165165
stream_name is not None
166166
), f"Multiple streams found for session. Please specify a stream name from {stream_names}."
167167
assert stream_name in stream_names, (
168-
f"The `stream_name` '{stream_name}' was not found in the available listing for session '{session}'! "
168+
f"The `stream_name` '{stream_name}' is not available for this experiment {eid}! "
169169
f"Please choose one of {stream_names}."
170170
)
171171
else:

0 commit comments

Comments
 (0)