DPARSFA Error

Submitted by druzgal on
I processed a batch of subjects through the New Segment + DARTEL step and experienced no obvious difficulties. But when I tried to rest a subset of those subjects through the rest of the pipeline, I got the following error:

---------------
Error using parallel_function (line 589)

Unable to read file /Volumes/DPARSF/T1ImgNewSegment/0051456/Template_6_2mni.mat: No such file or directory.

Error stack:
y_WarpBackByDARTEL.m at 33
DPARSFA_run>(parfor body) at 1521

Error in DPARSFA_run (line 1496)
            parfor i=1:AutoDataProcessParameter.SubjectNum

Error in DPARSFA>pushbuttonRun_Callback (line 1469)
    [Error]=DPARSFA_run(handles.Cfg);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in DPARSFA (line 33)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback
----------------

My version of SPM is current, so the Template_6_2mni.mat files should have been created for each subject. But it looks like the Template_6_2mni.mat file was only created for the first subject run through the New Segment + DARTEL step. When I run that first subject through the remainder of the pipeline, everything runs just fine. Just trying to figure out why the Template_6_2mni.mat did not get created for the rest of the subjects?

Thanks,

Jason
 

YAN Chao-Gan

Sat, 12/01/2012 - 17:41

Hi Jason,

SPM's DARTEL tool only saves the Templates file and Template_6_2mni.mat under the first subject's directory. That's why if you only use a subset of subjects (without the first subject), DPARSFA can not find Template_6_2mni.mat file.

Could you perform the following processing with all the subjects, but exclude the subjects when you want to perform statistical analyses?

Best,

Chao-Gan
Forums