Error_DPARSFA_DPABI

Submitted by James on

Hi, 

I am trying to preprocess .nii files and extract ROI time course using AAL. However, I kept recieving this error message (top and bottom), can you kindly advise:

 

Warning: File: DPARSFA_run.m Line: 766 Column: 66

The temporary variable SliceOrder will be cleared at the beginning of each iteration of the parfor loop.

Any value assigned to it before the loop will be lost.  If SliceOrder is used before it is assigned in the parfor loop, a runtime

error will occur.

See Parallel for Loops in MATLAB, "Temporary Variables".

> In DPARSFA>pushbuttonRun_Callback (line 1854)

  In gui_mainfcn (line 95)

  In DPARSFA (line 30)

Warning: File: DPARSFA_run.m Line: 1139 Column: 83

The temporary variable RefFile will be cleared at the beginning of each iteration of the parfor loop.

Any value assigned to it before the loop will be lost.  If RefFile is used before it is assigned in the parfor loop, a runtime

error will occur.

See Parallel for Loops in MATLAB, "Temporary Variables".

> In DPARSFA>pushbuttonRun_Callback (line 1854)

  In gui_mainfcn (line 95)

  In DPARSFA (line 30)

Warning: File: DPARSFA_run.m Line: 2983 Column: 24

The temporary variable DirImg will be cleared at the beginning of each iteration of the parfor loop.

Any value assigned to it before the loop will be lost.  If DirImg is used before it is assigned in the parfor loop, a runtime

error will occur.

See Parallel for Loops in MATLAB, "Temporary Variables".

> In DPARSFA>pushbuttonRun_Callback (line 1854)

  In gui_mainfcn (line 95)

  In DPARSFA (line 30)

Warning: File: DPARSFA_run.m Line: 4707 Column: 32

The temporary variable DirImg will be cleared at the beginning of each iteration of the parfor loop.

Any value assigned to it before the loop will be lost.  If DirImg is used before it is assigned in the parfor loop, a runtime

error will occur.

See Parallel for Loops in MATLAB, "Temporary Variables".

> In DPARSFA>pushbuttonRun_Callback (line 1854)

  In gui_mainfcn (line 95)

  In DPARSFA (line 30)

Starting parallel pool (parpool) using the 'local' profile ...

Connected to the parallel pool (number of workers: 6).

Slice Timing Setup:sub_092 OK

Slice Timing Setup:sub_147 OK

Slice Timing Setup:sub_060 OK

Initialising batch system... done.

Initialising batch system... done.

Initialising batch system... done.

 

 

------------------------------------------------------------------------

14-Sep-2022 12:39:07 - Running job #1

------------------------------------------------------------------------

 

 

------------------------------------------------------------------------

14-Sep-2022 12:39:06 - Running job #1

------------------------------------------------------------------------

 

 

------------------------------------------------------------------------

14-Sep-2022 12:39:06 - Running job #1

------------------------------------------------------------------------

14-Sep-2022 12:39:06 - Running 'Slice Timing'

 

SPM12: spm_slice_timing (v6130)                    12:39:06 - 14/09/2022

========================================================================

Number of slices is...                  :                             37

Time to Repeat (TR) is...               :                              2

Parameters are specified as...          :                  slice indices

Completed                               :          12:39:28 - 14/09/2022

14-Sep-2022 12:39:28 - Done    'Slice Timing'

14-Sep-2022 12:39:28 - Done

 

14-Sep-2022 12:39:07 - Running 'Slice Timing'

 

SPM12: spm_slice_timing (v6130)                    12:39:07 - 14/09/2022

========================================================================

Number of slices is...                  :                             37

Time to Repeat (TR) is...               :                              2

Parameters are specified as...          :                  slice indices

Completed                               :          12:39:34 - 14/09/2022

14-Sep-2022 12:39:34 - Done    'Slice Timing'

14-Sep-2022 12:39:35 - Done

 

14-Sep-2022 12:39:06 - Running 'Slice Timing'

 

SPM12: spm_slice_timing (v6130)                    12:39:06 - 14/09/2022

========================================================================

Number of slices is...                  :                             37

Time to Repeat (TR) is...               :                              2

Parameters are specified as...          :                  slice indices

Completed                               :          12:39:37 - 14/09/2022

14-Sep-2022 12:39:38 - Done    'Slice Timing'

14-Sep-2022 12:39:38 - Done

 

Moving Slice Timing Corrected Files:sub_060 OKMoving Slice Timing Corrected Files:sub_092 OKMoving Slice Timing Corrected Files:sub_147 OK

Realign Setup:sub_060 OK

Realign Setup:sub_092 OK

Realign Setup:sub_147 OK

 

 

------------------------------------------------------------------------

14-Sep-2022 12:40:10 - Running job #1

------------------------------------------------------------------------

 

 

------------------------------------------------------------------------

14-Sep-2022 12:40:10 - Running job #1

------------------------------------------------------------------------

 

 

------------------------------------------------------------------------

14-Sep-2022 12:40:10 - Running job #1

------------------------------------------------------------------------

14-Sep-2022 12:40:10 - Running 'Realign: Estimate & Reslice'

14-Sep-2022 12:40:10 - Running 'Realign: Estimate & Reslice'

 

SPM12: spm_realign (v7141)                         12:40:10 - 14/09/2022

========================================================================

Completed                               :          12:40:33 - 14/09/2022

14-Sep-2022 12:40:10 - Running 'Realign: Estimate & Reslice'

 

SPM12: spm_realign (v7141)                         12:40:10 - 14/09/2022

========================================================================

Completed                               :          12:40:34 - 14/09/2022

 

SPM12: spm_realign (v7141)                         12:40:10 - 14/09/2022

========================================================================

Completed                               :          12:40:35 - 14/09/2022

 

SPM12: spm_reslice (v7141)                         12:40:34 - 14/09/2022

========================================================================

Completed                               :          12:40:48 - 14/09/2022

14-Sep-2022 12:40:48 - Done    'Realign: Estimate & Reslice'

14-Sep-2022 12:40:48 - Done

 

 

SPM12: spm_reslice (v7141)                         12:40:33 - 14/09/2022

========================================================================

Completed                               :          12:40:48 - 14/09/2022

14-Sep-2022 12:40:48 - Done    'Realign: Estimate & Reslice'

14-Sep-2022 12:40:48 - Done

 

 

SPM12: spm_reslice (v7141)                         12:40:35 - 14/09/2022

========================================================================

Completed                               :          12:40:50 - 14/09/2022

14-Sep-2022 12:40:50 - Done    'Realign: Estimate & Reslice'

14-Sep-2022 12:40:50 - Done

 

Moving Head Motion Corrected Files:sub_060 OKMoving Head Motion Corrected Files:sub_092 OKMoving Head Motion Corrected Files:sub_147 OK

Error using cd

Cannot CD to C:\niigraphtheory\T1Img\sub_060 (Name is nonexistent or not a directory).

 

Error in DPARSFA_run (line 1682)

        cd([AutoDataProcessParameter.DataProcessDir,filesep,'T1Img',filesep,AutoDataProcessParameter.SubjectID{1}]);

 

Error in DPARSFA>pushbuttonRun_Callback (line 1854)

    [Error, Cfg]=DPARSFA_run(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.

 

puyunfashi

Thu, 09/15/2022 - 05:34

Hi,

Please check this path: C:\niigraphtheory\T1Img\sub_060