help > After importing a BIDS database, the preprocessing responds with this error
Mar 28, 2024  04:03 PM | Fernando Barrios - Northeastern University
After importing a BIDS database, the preprocessing responds with this error

ERROR DESCRIPTION:


 


Index exceeds the number of array elements. Index must not exceed 1.


 


Error in spm_preproc8 (line 172)


 fwhm = obj.biasfwhm(n);


 


Error in spm_preproc_run>run_inmem (line 183)


res = spm_preproc8(obj);


 


Error in spm_preproc_run (line 47)


 [varargout{1:nargout}] = run_inmem(job);


 


Error in pm_brain_mask>get_bmask (line 76)


c = spm_preproc_run(job,'inmem'); % Note that output is uint8


 


Error in pm_brain_mask (line 49)


bmask = get_bmask(P.fname);


 


Error in FieldMap (line 1614)


 IP.uflags.bmask = pm_brain_mask(IP.fmagP,IP.mflags);


 


Error in FieldMap_create (line 146)


 IP.fm = FieldMap('CreateFieldMap',IP);


 


Error in conn_setup_preproc (line 3426)


 VDM = FieldMap_create(vfmap,{filename},pm_def); %[ET1,ET2,0,ERT,-1]


 


Error in conn (line 1386)


 ok=conn_setup_preproc('',varargin{2:end});


 


Error in conn_menumanager (line 124)


 feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end}); 


CONN22.a


SPM + DAiSS DEM FieldMap MEEGtools


Matlab v.2023b


project: CONN22.a


storage: 216.8Gb available


 


spm @ /usr/local/spm12


conn @ /usr/local/conn