help > Setup Processing Con 21.a Error Importing fmriPrep
Showing 1-2 of 2 posts
Display:
Results per page:
Feb 27, 2022  05:02 PM | Keith Dodd
Setup Processing Con 21.a Error Importing fmriPrep
Hello,

I had imported and run data from fmriprep (anat and resting). Then later on I imported task based data too. When I run set up (don't overwrite already run files) it appears to error out at the end of setup:

ERROR DESCRIPTION:

Error using cat
Dimensions of arrays being concatenated are not consistent.
Error in conn_designmatrix (line 78)
X=cat(2,X,x);
Error in conn (line 6699)
[CONN_h.menus.m_preproc.X,CONN_h.menus.m_preproc.select]=conn_designmatrix(confounds,CONN_h.menus.m_preproc.X1,CONN_h.menus.m_preproc.X2,{nconfounds,nview,nfilter});
Error in conn (line 6310)
if ~conn_projectmanager('ispending')&&~ispending, conn gui_preproc;
Error in conn_menumanager (line 121)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN21.a
SPM12 + DAiSS DEM FieldMap MEEGtools cat12
Matlab v.2021b
project: CONN21.a
storage: 1065.0Gb available
spm @ /Users/keithdodd/spm12
conn @ /Users/keithdodd/conn

Thank you for your help!

Let me know if you need more information!
Mar 10, 2022  10:03 PM | Alfonso Nieto-Castanon - Boston University
RE: Setup Processing Con 21.a Error Importing fmriPrep
Hi Keith,

That error message indicates that the length of some of your ROI timeseries and/or first-level covariates does not match the length of your functional data (for some subject & session). I would probably suggest to check whether the same error appears when selecting any subject in the Denoising tab or just one or a few subjects, and from there see if you can identify which of these element (and ROI, a first-level covariate, or the functional data) seems to have an incorrect length/duration. 

Best
Alfonso
 
Originally posted by Keith Dodd:
Hello,

I had imported and run data from fmriprep (anat and resting). Then later on I imported task based data too. When I run set up (don't overwrite already run files) it appears to error out at the end of setup:

ERROR DESCRIPTION:

Error using cat
Dimensions of arrays being concatenated are not consistent.
Error in conn_designmatrix (line 78)
X=cat(2,X,x);
Error in conn (line 6699)
[CONN_h.menus.m_preproc.X,CONN_h.menus.m_preproc.select]=conn_designmatrix(confounds,CONN_h.menus.m_preproc.X1,CONN_h.menus.m_preproc.X2,{nconfounds,nview,nfilter});
Error in conn (line 6310)
if ~conn_projectmanager('ispending')&&~ispending, conn gui_preproc;
Error in conn_menumanager (line 121)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN21.a
SPM12 + DAiSS DEM FieldMap MEEGtools cat12
Matlab v.2021b
project: CONN21.a
storage: 1065.0Gb available
spm @ /Users/keithdodd/spm12
conn @ /Users/keithdodd/conn

Thank you for your help!

Let me know if you need more information!