Skip to content

Index exceeds the number of array elements. Index must not exceed 0 #5

@reubebe

Description

@reubebe

I am having this issue and I wonder what the problem might be, I tried testing this on a single subject

In ver (line 56)
In DPARSFA
In gui_mainfcn (line 220)
In DPARSFA
In DPARSF_main>pushbutton_DPARSFA_Callback (line 98)
In gui_mainfcn (line 95)
In DPARSF_main (line 42)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DPARSF_main('pushbutton_DPARSFA_Callback',hObject,eventdata,guidata(hObject))
Warning: Support for ver('distcomp') will be removed in a future release. Use ver('parallel') instead.

In ver>locGetSingleToolboxInfo (line 283)
In ver (line 56)
In DPARSFA
In DPARSFA
In gui_mainfcn (line 220)
In DPARSFA
In DPARSF_main>pushbutton_DPARSFA_Callback (line 98)
In gui_mainfcn (line 95)
In DPARSF_main (line 42)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DPARSF_main('pushbutton_DPARSFA_Callback',hObject,eventdata,guidata(hObject))
Warning: Support for ver('distcomp') will be removed in a future release. Use ver('parallel') instead.
In ver>locGetSingleToolboxInfo (line 283)
In ver (line 56)
In DPARSFA
In DPARSFA
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Warning: Support for ver('distcomp') will be removed in a future release. Use ver('parallel') instead.
In ver>locGetSingleToolboxInfo (line 283)
In ver (line 56)
In DPARSFA
In DPARSFA
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA

IsMultipleLabel is set to 1: There are multiple labels in the ROI mask file.
Warning: Support for ver('distcomp') will be removed in a future release. Use ver('parallel') instead.

In ver>locGetSingleToolboxInfo (line 283)
In ver (line 56)
In DPARSFA
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Warning: Support for ver('distcomp') will be removed in a future release. Use ver('parallel') instead.
In ver>locGetSingleToolboxInfo (line 283)
In ver (line 56)
In DPARSFA
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Warning: Support for ver('distcomp') will be removed in a future release. Use ver('parallel') instead.
In ver>locGetSingleToolboxInfo (line 283)
In ver (line 56)
In DPARSFA
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Warning: Support for ver('distcomp') will be removed in a future release. Use ver('parallel') instead.
In ver>locGetSingleToolboxInfo (line 283)
In ver (line 56)
In DPARSFA
In DPARSFA
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Warning: File: DPARSFA_run.m Line: 751 Column: 29
The temporary variable 'SliceOrder' will be cleared at the beginning of each iteration of the parfor-loop. If 'SliceOrder' is used before
it is set, a runtime error will occur. For more information, see Parallel for Loops in MATLAB, "Uninitialized Temporaries".
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Warning: File: DPARSFA_run.m Line: 1131 Column: 17
The temporary variable 'RefFile' will be cleared at the beginning of each iteration of the parfor-loop. If 'RefFile' is used before it is
set, a runtime error will occur. For more information, see Parallel for Loops in MATLAB, "Uninitialized Temporaries".
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Warning: File: DPARSFA_run.m Line: 2987 Column: 13
The temporary variable 'DirImg' will be cleared at the beginning of each iteration of the parfor-loop. If 'DirImg' is used before it is
set, a runtime error will occur. For more information, see Parallel for Loops in MATLAB, "Uninitialized Temporaries".
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Warning: File: DPARSFA_run.m Line: 4711 Column: 17
The temporary variable 'DirImg' will be cleared at the beginning of each iteration of the parfor-loop. If 'DirImg' is used before it is
set, a runtime error will occur. For more information, see Parallel for Loops in MATLAB, "Uninitialized Temporaries".
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Compression will be faster with 'pigz' installed http://macappstore.org/pigz/
Chris Rorden's dcm2niiX version v1.0.20201102 (JP2:OpenJPEG) (JP-LS:CharLS) Clang8.1.0 x86-64 (64-bit MacOS)
Found 240 DICOM file(s)
UINT16->INT16 Future release will change default. github.com/rordenlab/dcm2niix/issues/338
Convert 240 DICOM as /Users/reubenaddison/Downloads/DemoData/DemoRaw/DemoData/FunImg/Sub_001/Sub_001_ge_func_31x31x30_240_RS_20071016110634_4 (64x64x33x240)
Conversion required 0.213822 seconds (0.109505 for core code).
Converting Functional Images:Sub_001 OK
Compression will be faster with 'pigz' installed http://macappstore.org/pigz/
Chris Rorden's dcm2niiX version v1.0.20201102 (JP2:OpenJPEG) (JP-LS:CharLS) Clang8.1.0 x86-64 (64-bit MacOS)
Found 128 DICOM file(s)
UINT16->INT16 Future release will change default. github.com/rordenlab/dcm2niix/issues/338
Convert 128 DICOM as /Users/reubenaddison/Downloads/DemoData/DemoRaw/DemoData/T1Img/Sub_001/Sub_001_t1_mprage_sag_20071016110634_6 (256x256x128x1)
Cropping from slice 51 to 220 (of 256)
Conversion required 0.197030 seconds (0.153269 for core code).
Converting T1 Images:Sub_001 OK
Removing First 10 Time Points: Sub_001 OK
Using slice timing information from DICOM BIDS information: Sub_001.
Slice Timing Setup:Sub_001 OK
Initialising batch system... done.


14-Apr-2023 08:48:43 - Running job #1

14-Apr-2023 08:48:43 - Running 'Slice Timing'

SPM12: spm_slice_timing (v6130) 08:48:43 - 14/04/2023

Number of slices is... : 33
Time to Repeat (TR) is... : 2
Parameters are specified as... : slice times (ms)
Completed : 08:48:51 - 14/04/2023
14-Apr-2023 08:48:51 - Done 'Slice Timing'
14-Apr-2023 08:48:51 - Done

Moving Slice Timing Corrected Files:Sub_001 OK
Realign Setup:Sub_001 OK


14-Apr-2023 08:48:52 - Running job #1

14-Apr-2023 08:48:52 - Running 'Realign: Estimate & Reslice'

SPM12: spm_realign (v7141) 08:48:52 - 14/04/2023

Completed : 08:49:13 - 14/04/2023

SPM12: spm_reslice (v7141) 08:49:13 - 14/04/2023

Completed : 08:49:26 - 14/04/2023
14-Apr-2023 08:49:26 - Done 'Realign: Estimate & Reslice'
14-Apr-2023 08:49:26 - Done

Moving Head Motion Corrected Files:Sub_001 OK
Reorienting T1 Image Interactively for Sub_001:

Reorienting T1 Image Interactively for Sub_001: OK
Reorienting Functional Images Interactively for Sub_001:

Reorienting Functional Images Interactively for Sub_001: OK
Warning: Directory already exists.

In DPARSFA_run (line 1380)
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Apply Reorient Mats to functional images for Sub_001: OK
Bet begin...
/bin/bash: docker: command not found
/bin/bash: docker: command not found
Bet finished
Warning: Support for ver('distcomp') will be removed in a future release. Use ver('parallel') instead.
In ver>locGetSingleToolboxInfo (line 283)
In ver (line 56)
In DPARSFA_run (line 1665)
In DPARSFA
In gui_mainfcn (line 95)
In DPARSFA
Copying T1 image Files:Sub_001 OK
Error using DPARSFA_run
Index exceeds the number of array elements. Index must not exceed 0.

Error in DPARSFA

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

Error in DPARSFA

Error while evaluating UIControl Callback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions