Skip to content

Commit 16c15b3

Browse files
committed
Fix raw_et annotation descriptions
1 parent d955ab7 commit 16c15b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mne_bids_pipeline/steps/preprocessing/_05b_sync_eyelink.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def sync_eyelink(
234234
# Also add ET annotations to EEG
235235
# first mark et sync event descriptions so we can differentiate them later
236236
# TODO: For now all ET events will be marked with ET and added to the EEG annotations, maybe later filter for certain events only
237-
raw_et.annotations.description = map(lambda desc: "ET_" + desc, raw_et.annotations.description)
237+
raw_et.annotations.description = np.array(list(map(lambda desc: "ET_" + desc, raw_et.annotations.description)))
238238
raw.set_annotations(mne.annotations._combine_annotations(raw.annotations,
239239
raw_et.annotations,
240240
0,

0 commit comments

Comments
 (0)