help > RE: Unequal RT
Jan 18, 2012  08:01 PM | Alfonso Nieto-Castanon - Boston University
RE: Unequal RT
Hi Sarah,

Sorry about this. I tracked the source of this error and it seems that despite using the 'no overwrite' option some basic files were actually being overwritten with the new RT information. I have corrected this behavior in the attached file, so if you repeat the entire procedure now (starting a new conn project from zero) it should work fine. If you prefer not to have to repeat the entire process, a possible fix would be the following:

 1) add the attached file to the conn folder (overwriting the existing file with the same name there)
 2) in the conn_*/data/ folder, delete the files named COND_Subject*.mat and COV_Subject*.mat
 3) in the conn_*/results/preprocessing/ folder, delete the files named ROI_Subject###_Condition*.mat 
 4) run the following from the command line (changing the first four lines to the appropriate values):

N1=10;  % Number of subjects in the first group (those entered first in the conn project)
N2=10;  % Number of subjects in the second group (those entered last in the conn project)
RT1=2;  % RT value for the first group of subjects
RT2=3;  % RT value for the second group of subjects
global CONN_x;
CONN_x.Setup.RT=RT2;
conn_process([2,7]);
CONN_x.Setup.RT=RT1;
CONN_x.Setup.nsubjects=N1;
CONN_x.gui.overwrite='Yes';
conn_process([2,7]);
CONN_x.Setup.nsubjects=N1+N2;
conn save;

After this you should be able to continue with the first-level analyses without a problem. 
Hope this helps and let me know if you run into any issues
Best
Alfonso


Originally posted by Sarah Buetof:
Unfortunately I couldn't run the first level step, but got following error:

??? Error using ==> times
Matrix dimensions must agree.

Error in ==> conn at 1523
                            case 2,
                            xf=xf.*repmat(CONN_h.menus.m_analyses.X1.conditionweights{1},[1,size(xf,2)]);yf=yf.*repmat(CONN_h.menus.m_analyses.X1.conditionweights{1},[1,size(yf,2)]);
                           
Error in ==> conn_menumanager at 116
                            feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});
 
??? Error while evaluating figure WindowButtonUpFcn


Is that because of the different condition durations?
Attachment: conn_process.m

Threaded View

TitleAuthorDate
Sarah Buetof Jan 16, 2012
Alfonso Nieto-Castanon Jan 17, 2012
Renzo Torrecuso Apr 30, 2021
Sarah Buetof Jan 18, 2012
Sarah Buetof Jan 18, 2012
RE: Unequal RT
Alfonso Nieto-Castanon Jan 18, 2012
Sarah Buetof Jan 19, 2012
Sarah Buetof Jan 19, 2012
Michael Parrish Mar 14, 2014