Skip to content

Commit 826335b

Browse files
committed
Merge remote-tracking branch 'origin/convert_to_nwb' into convert_to_nwb
2 parents daccfc4 + 49fac08 commit 826335b

File tree

1 file changed

+2
-2
lines changed
  • element_array_ephys/export/nwb

1 file changed

+2
-2
lines changed

element_array_ephys/export/nwb/nwb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
assert probe.schema.is_activated(), 'probe not yet activated'
2020

21-
for ephys in (ephys_acute, ephys_chronic, ephys_no_curation):
21+
for ephys in (ephys_acute):
2222
if ephys.schema.is_activated():
2323
break
2424
else:
@@ -517,7 +517,7 @@ def add_ephys_lfp_from_source_to_nwb(
517517
lfp.add_electrical_series(
518518
pynwb.ecephys.ElectricalSeries(
519519
name=f"ElectricalSeries{ephys_recording_record['insertion_number']}",
520-
description=str(ephys_recording_record),
520+
description=f"LFP from probe {probe_id}",
521521
data=SpikeInterfaceRecordingDataChunkIterator(extractor),
522522
rate=extractor.get_sampling_frequency(),
523523
starting_time=(

0 commit comments

Comments
 (0)