erplab icon indicating copy to clipboard operation
erplab copied to clipboard

Bug in joinclosesegments()

Open olafdimigen opened this issue 4 years ago • 0 comments

Function crashes with EEG datasets that happen to have artifacts in the wrong place. Here's a minimal test example to produce the bug:

% [winRej2 chanRej2 ] = joinclosesegments(winRej, chanrej, shortisisam); joinclosesegments([500 1000; 2000 2500], ones(2,64), 500)

--> crash in line 109 due to non-fitting assignment (Sorry, currently no time for more detailed report, will follow up with one. Disclaimer: I am using the cont. rejection functions not from within ERPLAB - so this may not occur from within ERPLAB)

olafdimigen avatar Jan 03 '20 02:01 olafdimigen