Skip to content

Commit

Permalink
Bugfix: CMC tutorial: Reject events with less than 2 samples
Browse files Browse the repository at this point in the history
  • Loading branch information
rcassani committed May 13, 2022
1 parent dc6ef8f commit a54ac2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolbox/script/tutorial_coherence.m
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function tutorial_coherence(tutorial_dir, reports_dir)
'stimchan', 'Stim', ...
'trackmode', 1, ... % Value: detect the changes of channel value
'zero', 0, ...
'min_duration', 0);
'min_duration', 2);
% Load all Event group labels
DataMat = in_bst_data(sFileRaw.FileName, 'F');
eventList = {DataMat.F.events.label};
Expand Down

0 comments on commit a54ac2a

Please sign in to comment.