Open Andesha opened 1 year ago
I see.
You should also be able to pass config['find_breaks'] = False
to skip this step.
I made the find_breaks
behavior True by default because when I used MATLAB Lossless, finding breaks was not done by default, and this is something I always needed to do (but often forgot) which resulted in having to re-run the pipeline.
The default for annotate_break
is to look for annotations, alternatively, you can pass in an event array (or set your annotations from your stim channel as you did).
But I agree that we might want to handle a situation like yours more gracefully.
When passing
find_breaks
to the pipeline like the following:The pipeline crashes if there is not an annotation structure already created in the data. Error here:
I fixed this personally by doing this:
Likely needs to be fixed before the initial release.