unfold
unfold copied to clipboard
Bad behavior if letter case of eventtype name is incorrect (in cfg.eventypes)
uf_designmat
looks for 'eventstypes' but using strcmpi()
, which ignores case.
Thus, when an event is specified with a wrong case, e.g.
cfgDesign.eventtypes = {'sTiMuLuSoNsEt'} % should be 'stimulusOnset'
then the modeling process does start (no error produced initially), but mayhem happens later at the uf_glmfit
stage (without producing an explicit error)