9
9
import glob
10
10
import json
11
11
import os
12
- from typing import Any
13
12
from collections .abc import Sequence
13
+ from typing import Any
14
14
from urllib .error import HTTPError
15
15
from urllib .error import URLError
16
16
from urllib .request import urlopen
@@ -287,7 +287,7 @@ def get_datasets_and_aliases(
287
287
288
288
def hdf5_to_array (
289
289
h5file : h5py .File ,
290
- channels : Sequence [Dict [str , Any ]],
290
+ channels : Sequence [dict [str , Any ]],
291
291
time_stamps = False ,
292
292
ms_markers_key : str = "msMarkers" ,
293
293
first_event_time_stamp_key : str = "FirstEventTimeStamp" ,
@@ -298,7 +298,7 @@ def hdf5_to_array(
298
298
Args:
299
299
h5file (h5py.File):
300
300
hdf5 file handle to read from
301
- channels (Sequence[Dict [str, any]]):
301
+ channels (Sequence[dict [str, any]]):
302
302
channel dicts containing group names and types to read.
303
303
time_stamps (bool, optional):
304
304
Option to calculate time stamps. Defaults to False.
@@ -373,7 +373,7 @@ def hdf5_to_array(
373
373
374
374
def hdf5_to_timed_array (
375
375
h5file : h5py .File ,
376
- channels : Sequence [Dict [str , Any ]],
376
+ channels : Sequence [dict [str , Any ]],
377
377
time_stamps = False ,
378
378
ms_markers_key : str = "msMarkers" ,
379
379
first_event_time_stamp_key : str = "FirstEventTimeStamp" ,
@@ -384,7 +384,7 @@ def hdf5_to_timed_array(
384
384
Args:
385
385
h5file (h5py.File):
386
386
hdf5 file handle to read from
387
- channels (Sequence[Dict [str, any]]):
387
+ channels (Sequence[dict [str, any]]):
388
388
channel dicts containing group names and types to read.
389
389
time_stamps (bool, optional):
390
390
Option to calculate time stamps. Defaults to False.
0 commit comments