Skip to content

Commit 45f846c

Browse files
committed
Adjust dependencies
1 parent 888e7f7 commit 45f846c

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

cspell.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"Ephys",
5656
"gblcar",
5757
"gfix",
58+
"hdmf",
5859
"HHMI",
5960
"hstack",
6061
"ibllib",
@@ -88,10 +89,13 @@
8889
"ndimage",
8990
"Neuralynx",
9091
"NEURO",
92+
"neuroconv",
9193
"Neurodata",
9294
"Neuropix",
9395
"neuropixel",
9496
"NeuroPixels",
97+
"nwbfile",
98+
"NWBHDF",
9599
"oebin",
96100
"openephys",
97101
"openephys",
@@ -125,6 +129,7 @@
125129
"tickvals",
126130
"tofile",
127131
"Tolias",
132+
"tqdm",
128133
"vline",
129134
"Vmax",
130135
"vmax",

element_array_ephys/export/nwb/nwb.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,9 @@ def add_ephys_recording_to_nwb(
399399
file_path = find_full_path(ephys_root_data_dir, relative_path)
400400

401401
if ephys_recording_record["acq_software"] == "SpikeGLX":
402-
extractor = extractors.read_spikeglx(os.path.split(file_path)[0], "imec.ap")
402+
extractor = extractors.read_spikeglx(
403+
os.path.split(file_path)[0], stream_id="imec.ap"
404+
)
403405
elif ephys_recording_record["acq_software"] == "OpenEphys":
404406
extractor = extractors.read_openephys(file_path, stream_id="0")
405407
else:
@@ -437,7 +439,7 @@ def add_ephys_recording_to_nwb(
437439

438440

439441
def add_ephys_lfp_from_dj_to_nwb(session_key: dict, nwbfile: pynwb.NWBFile):
440-
"""Read LFP data from the data in element-aray-ephys
442+
"""Read LFP data from the data in element-array-ephys
441443
442444
Mapping:
443445
ephys.LFP.Electrode::lfp ->
@@ -525,7 +527,9 @@ def add_ephys_lfp_from_source_to_nwb(
525527
file_path = find_full_path(ephys_root_data_dir, relative_path)
526528

527529
if ephys_recording_record["acq_software"] == "SpikeGLX":
528-
extractor = extractors.read_spikeglx(os.path.split(file_path)[0], "imec.lf")
530+
extractor = extractors.read_spikeglx(
531+
os.path.split(file_path)[0], stream_id="imec.lf"
532+
)
529533
else:
530534
raise ValueError(
531535
"unsupported acq_software type:"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dandi
22
neo==0.10.2
3-
neuroconv
3+
neuroconv[ecephys]>=0.2.0
44
pynwb>=2.0.0
55
spikeinterface==0.93.0

0 commit comments

Comments
 (0)