DPARSF preprocessing error - normalisation

Submitted by Jaczhao on

Hi Dpabi experts, 

I’m trying to use your toolbox Dpabi to preprocess our fMRI data. It is a brilliant toolbox, but every time when it approached normalization step, the error message popped out (attached at last). The toolbox was run on Matlab 2019a, MacOS Mojave. 

Seems some people have the same problem. I found a your answer to the problem in the forum: “It's a matlab GUI problem. Somes times happens in regenerating the normalization pictures. It doesn't affect the accuracy of processing. Just continue the processing by set Starting Directory Name.” I am new to this so I got confused about (1) which starting directory name I should set. (2)Do I need to uncheck other preprocessing items in the interface when continuing?

 

I would appreciated it so much if you could give me some hints.

 

Normalization by using DARTEL:Sub_001 OK

Moving Normalized Files:Sub_001 OK

Warning: Directory already exists.

> In DPARSFA_run (line 3156)

  In DPARSFA_RerunWithGSR (line 95)

  In DPARSFA>pushbuttonRun_Callback (line 1848)

  In gui_mainfcn (line 95)

  In DPARSFA (line 30)

Unable to use a value of type 'matlab.ui.Figure' as an index.

 

Error in y_spm_orthviews>addcolourbar (line 883)

if st{curfig}.mode == 0,

 

Error in y_spm_orthviews>addtruecolourimage (line 824)

addcolourbar(1,bset);

 

Error in y_spm_orthviews (line 511)

        addtruecolourimage(varargin{1}, varargin{2},varargin{3}, varargin{4}, ...

 

Error in y_Call_spm_orthviews (line 149)

    y_spm_orthviews('Addtruecolourimage',H,BrainHeader,ColorMap,1-Transparency,PMax,NMax);

 

Error in DPARSFA_run (line 3187)

            H = y_Call_spm_orthviews(Ch2Filename,0,0,0,18,Filename,jet(64),0,250,H,0.8);

 

Error in DPARSFA_RerunWithGSR (line 95)

[Error]=DPARSFA_run(Cfg);

 

Error in DPARSFA>pushbuttonRun_Callback (line 1848)

        [Error]=DPARSFA_RerunWithGSR(handles.Cfg);

 

Error in gui_mainfcn (line 95)

        feval(varargin{:});

 

Error in DPARSFA (line 30)

    gui_mainfcn(gui_State, varargin{:});

 

Error while evaluating UIControl Callback.

 

Seems some people have the same problem. I found a your answer to the problem in the forum: “It's a matlab GUI problem. Somes times happens in regenerating the normalization pictures. It doesn't affect the accuracy of processing. Just continue the processing by set Starting Directory Name.” I am new to this so I got confused about which starting directory name I should set. Do I need to uncheck other preprocessing items in the interface when continuing?

 

I would appreciated it so much if you could give me some hints.I’m trying to use your toolbox Dpabi to process our fMRI data. It is a brilliant toolbox, but every time when it approached normalization step, the error message popped out: 

 

Normalization by using DARTEL:Sub_001 OK

Moving Normalized Files:Sub_001 OK

Warning: Directory already exists.

> In DPARSFA_run (line 3156)

  In DPARSFA_RerunWithGSR (line 95)

  In DPARSFA>pushbuttonRun_Callback (line 1848)

  In gui_mainfcn (line 95)

  In DPARSFA (line 30)

Unable to use a value of type 'matlab.ui.Figure' as an index.

 

Error in y_spm_orthviews>addcolourbar (line 883)

if st{curfig}.mode == 0,

 

Error in y_spm_orthviews>addtruecolourimage (line 824)

addcolourbar(1,bset);

 

Error in y_spm_orthviews (line 511)

        addtruecolourimage(varargin{1}, varargin{2},varargin{3}, varargin{4}, ...

 

Error in y_Call_spm_orthviews (line 149)

    y_spm_orthviews('Addtruecolourimage',H,BrainHeader,ColorMap,1-Transparency,PMax,NMax);

 

Error in DPARSFA_run (line 3187)

            H = y_Call_spm_orthviews(Ch2Filename,0,0,0,18,Filename,jet(64),0,250,H,0.8);

 

Error in DPARSFA_RerunWithGSR (line 95)

[Error]=DPARSFA_run(Cfg);

 

Error in DPARSFA>pushbuttonRun_Callback (line 1848)

        [Error]=DPARSFA_RerunWithGSR(handles.Cfg);

 

Error in gui_mainfcn (line 95)

        feval(varargin{:});

 

Error in DPARSFA (line 30)

    gui_mainfcn(gui_State, varargin{:});

 

Error while evaluating UIControl Callback.

 

 

老师你好!我在运行DPARSF的时候出现了以下错误,请问一下是如何产生的?应该怎样改正?

此类型的变量不支持使用点进行索引。
 
出错 DPARSFA_run (line 301)
    if (AutoDataProcessParameter.FieldMap.IsNeedConvertDCM2IMG==1)
 
出错 DPARSFA>pushbuttonRun_Callback (line 1845)
    [Error]=DPARSFA_run(handles.Cfg);
 
出错 gui_mainfcn (line 95)
        feval(varargin{:});
 
出错 DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});
 
计算 UIControl Callback 时出错。