private/getNumberOfRepetitions.m
2095645b
 function rep = getNumberOfRepetitions(session,condition)
    cmd = sprintf('length(SPM.Sess(%d,%d).U(%d,%d).ons)',1,session,1,condition);
    rep = evalin('base',cmd);
 end