E.g., when all trials of a certain condition get rejected, the resulting epochs object will be empty, and this raises an error when computing epochs.average() (for creating the evokeds). Would be better to raise a warning about this participant/condition and continue (omitting this participant/condition from the evokeds and grands outputs).
E.g., when all trials of a certain condition get rejected, the resulting epochs object will be empty, and this raises an error when computing
epochs.average()
(for creating the evokeds). Would be better to raise a warning about this participant/condition and continue (omitting this participant/condition from theevokeds
andgrands
outputs).