[Eeglablist] Rejecting continuous data with script: "events were corrupted" (BUG 1971)

Shaoyun Yu s.yu at nagoya-u.jp
Wed Oct 23 21:50:41 PDT 2019


Dear Arnaud,

Thank you very much for your reply.
I have tried "EEG = eeg_eegrej(EEG, [1 100; 500 600])", but the bug 
still occurs with my dataset:

 >> EEG = eeg_eegrej(EEG, [1 100; 500 600]);
eeg_insertbound(): 2 boundary (break) events added.
Warning: converting all event types to strings
eeg_insertbound(): 2 boundary (break) events added.
BUG 1971 WARNING: IF YOU ARE USING A SCRIPT WITTEN FOR A PREVIOUS VERSION OF
EEGLAB TO CALL THIS FUNCTION, BECAUSE YOU ARE REJECTING THE ONSET OF THE 
DATA,
EVENTS WERE CORRUPTED. EVENT LATENCIES ARE NOW CORRECT (SEE 
https://sccn.ucsd.edu/wiki/EEGLAB_bug1971);

Unfortunately, it seems that I do not have permission to the Google 
Drive link.
I have uploaded one of my datasets to the URL below (both the original 
BioSemi BDF and a smaller down-sampled dataset).
https://drive.google.com/drive/folders/1WJtkjMohN068S_nJIXZkK2ST9ObjIoad?usp=sharing
I will really appreciate it if you could check if there are any 
consistency issues after rejection.

Thank you,
Shaoyun

> From: eeglablist <eeglablist-bounces at sccn.ucsd.edu> on behalf of 
> Delorme, Arnaud <adelorme at ucsd.edu>
> Sent: Thursday, October 24, 2019 2:39
> Cc: EEGLAB List
> Subject: Re: [Eeglablist] Rejecting continuous data with script: 
> "events were corrupted" (BUG 1971)
>
> Dear Shaoyun Yu,
>
> Yes, the message appear when you enter "EEG = eeg_eegrej(EEG, [0 100; 
> 500 600]);”
> I have tried two other datasets and it does not appear when you enter 
> "EEG = eeg_eegrej(EEG, [1 100; 500 600]);”
>
> Note that the EEGLAB history will never generate a limit with 0 (since 
> the first sample is 1) so this is only if you manually enter the limit 
> when calling the function. Therefore most often this bug (which only 
> occurs in EEGLAB version up to 2016) is not a problem. More details 
> are available at https://sccn.ucsd.edu/wiki/EEGLAB_bug1971 
> <https://sccn.ucsd.edu/wiki/EEGLAB_bug1971>
>
> We now have a complex process that checks the consistency of different 
> methods and show this warning when there is lack of consistency. The 
> issue is usually about adding boundary events at the data limits when 
> you reject the beginning or the end of the data and I have not seen 
> any discrepancy associated with actual rejection. In any case, would 
> you mind to share your dataset so we can look into it at 
> https://drive.google.com/open?id=1ob2DUgGQWVf2xAbbo6o3yMfdMWRPyFZJ 
> (just drag and drop).
>
> Best wishes,
>
> Arno
>
> > On Oct 22, 2019, at 8:56 PM, Shaoyun Yu <s.yu at nagoya-u.jp> wrote:
> >
> > Hello,
> >
> > I am trying to reject the data during rest breaks before cleaning 
> with ASR because these periods often contain a lot of EMG and other 
> noises. I also decided to remove the idle periods before and after the 
> experiment.
> >
> > If I pass an array of time regions to eeg_eegrej, e.g.:
> >
> > ```EEG = eeg_eegrej(EEG, [0 100; 500 600]);
> > ```
> >
> > Bug 1971 will occur with the warning:
> >
> > BUG 1971 WARNING: IF YOU ARE USING A SCRIPT WITTEN FOR A PREVIOUS 
> VERSION OF
> > EEGLAB TO CALL THIS FUNCTION, BECAUSE YOU ARE REJECTING THE ONSET OF 
> THE DATA,
> > EVENTS WERE CORRUPTED. EVENT LATENCIES ARE NOW CORRECT (SEE 
> https://sccn.ucsd.edu/wiki/EEGLAB_bug1971 
> <https://sccn.ucsd.edu/wiki/EEGLAB_bug1971>);
> >
> > Interestingly, the bug will still happen even if point 0 is not 
> included: eeg_eegrej(EEG, [500 600])
> > What are the implications of this bug when I do rejection in 
> scripts? Would it cause any distortion to the data?
> > I am running on EEGLAB v14.1.2.
> >
> > Thank you,
> >
> > Shaoyun Yu
> > Doctoral student, Graduate School of Humanities
> > Nagoya University
> > s.yu at nagoya-u.jp <mailto:s.yu at nagoya-u.jp> | s.yu at pm.me 
> <mailto:s.yu at pm.me>
> > _______________________________________________
> > Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> > To unsubscribe, send an empty email to 
> eeglablist-unsubscribe at sccn.ucsd.edu
> > For digest mode, send an email with the subject "set digest mime" to 
> eeglablist-request at sccn.ucsd.edu
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to 
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to 
> eeglablist-request at sccn.ucsd.edu



More information about the eeglablist mailing list