unfold icon indicating copy to clipboard operation
unfold copied to clipboard

Bad behavior if letter case of eventtype name is incorrect (in cfg.eventypes)

Open olafdimigen opened this issue 2 years ago • 3 comments

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)

olafdimigen avatar Sep 10 '21 19:09 olafdimigen