During the last run for one of my participants, PsychoPy opened a window for some reason I don’t remember. The end result is I lost a few events at the end of this run. This means one of those events, ‘ProsSameObj’ is not present in this run at all. The means the validity checks in
pyscript_estimatecontrast.m throw an exception. I edited the code to remove the checks, and predictably, SPM fails when calculating the contrasts.
Is there a way to exclude just this part of my data? I hate to lose a whole participant because of this; my other 14 participants’ data are fine.