eye-eeg icon indicating copy to clipboard operation
eye-eeg copied to clipboard

Bug report email: synchronize() & detecteyemovements()

Open olafdimigen opened this issue 1 year ago • 2 comments

Thanks to user Maria for this bug report!

I came across the following issues when using the eye-eeg plugin for eeglab.

In eye-eeg-0.99\synchronize.m

Line 247 Should be new_ix = zeros(size(ET.event, 1),1);

Instead of new_ix = zeros(length(ET.event),1);

Also in \eye-eeg-0.99\detecteyemovements.m

Line 240

find(ismember({EEG.event.type},'bad_ET'))

gives an error – at least with my eeglab data “Error using cell/ismember (line 34) Input A of class cell and input B of class char must be cell arrays of character vectors, unless one is a character vector.”

olafdimigen avatar Dec 07 '22 13:12 olafdimigen