Error related to slice timing

Submitted by Floating on

Dear Experts,

I have encountered an error in DPARSFA that seems related to slice timing.   I found another post, which suggested that slice order may be problematic (http://restfmri.net/forum/node/516).

However, we have used the same slice order before and there wasn’t a problem.

Here is the error:

Starting parallel pool (parpool) using the 'local' profile ... connected to 2 workers.

Removing First 10 Time Points: Sub_001 OKRemoving First 10 Time Points: Sub_002 OKRemoving First 10 Time Points: Sub_006 OK

Removing First 10 Time Points: Sub_003 OKRemoving First 10 Time Points: Sub_004 OKRemoving First 10 Time Points: Sub_005 OK

 

Slice Timing Setup:Sub_001 OK

Warning: Run spm_jobman('initcfg'); beforehand

> In spm_jobman at 107

  In DPARSFA_run>(parfor body) at 693

  In parallel_function>make_general_channel/channel_general at 927

  In remoteParallelFunction at 38

Item 'Slice order', field 'val': Size mismatch (required [1  Inf], present [2  18]).

Slice Timing Setup:Sub_003 OK

Warning: Run spm_jobman('initcfg'); beforehand

> In spm_jobman at 107

  In DPARSFA_run>(parfor body) at 693

  In parallel_function>make_general_channel/channel_general at 927

  In remoteParallelFunction at 38

Item 'Slice order', field 'val': Size mismatch (required [1  Inf], present [2  18]).

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

Running job #1

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

No executable modules, but still unresolved dependencies or incomplete module inputs.

The following modules did not run:

Skipped: Slice Timing

 

Error using cfg_util (line 835)

Job execution failed. The full log of this run can be found in MATLAB command window,

starting with the lines (look for the line showing the exact #job as displayed in this

error message)

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

Running job #1

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

Error in spm_jobman (line 217)

 

Error in DPARSFA_run>(parfor body) (line 693)

Error in DPARSFA_run (line 593)

        parfor i=1:AutoDataProcessParameter.SubjectNum

Error in DPARSF_run (line 95)

[Error] = DPARSFA_run(Cfg);

Error in DPARSF>pushbuttonRun_Callback (line 1117)

    [Error]=DPARSF_run(handles.Cfg);

Error in gui_mainfcn (line 95)

        feval(varargin{:});

Error in DPARSF (line 50)

    gui_mainfcn(gui_State, varargin{:});

Error while evaluating uicontrol Callback

 

Any help will be most appreciated!

Floating

YAN Chao-Gan

Wed, 07/01/2015 - 07:39

Hi Floating,

According to the error message, it's related to the settings of slice number, slice order and reference slice.

Please check these settings.

Best,

Chao-Gan

Hi Dr. Yan,

Thank you so much for the quick reply!  And yes, you are right.  I made a mistake in the slice order and now everything runs fine. 

Thanks again,

Floating