Skip to content

Commit f11e016

Browse files
author
Thinh Nguyen
committed
bugfix for LFP electrode mapping
1 parent f4b917d commit f11e016

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

element_array_ephys/ephys_acute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def make(self, key):
407407
for key in electrode_query.fetch('KEY')}
408408

409409
electrode_keys.extend(probe_electrodes[channel_idx]
410-
for channel_idx in oe_probe.lfp_meta['channels_indices'])
410+
for channel_idx in lfp_channel_ind)
411411
else:
412412
raise NotImplementedError(f'LFP extraction from acquisition software'
413413
f' of type {acq_software} is not yet implemented')

element_array_ephys/ephys_chronic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def make(self, key):
354354
for key in electrode_query.fetch('KEY')}
355355

356356
electrode_keys.extend(probe_electrodes[channel_idx]
357-
for channel_idx in oe_probe.lfp_meta['channels_indices'])
357+
for channel_idx in lfp_channel_ind)
358358
else:
359359
raise NotImplementedError(f'LFP extraction from acquisition software'
360360
f' of type {acq_software} is not yet implemented')

element_array_ephys/ephys_no_curation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def make(self, key):
406406
for key in electrode_query.fetch('KEY')}
407407

408408
electrode_keys.extend(probe_electrodes[channel_idx]
409-
for channel_idx in oe_probe.lfp_meta['channels_indices'])
409+
for channel_idx in lfp_channel_ind)
410410
else:
411411
raise NotImplementedError(f'LFP extraction from acquisition software'
412412
f' of type {acq_software} is not yet implemented')

0 commit comments

Comments
 (0)