help > Error while importing ROI data
Showing 1-4 of 4 posts
Display:
Results per page:
Mar 7, 2019  08:03 AM | boris - LMU
Error while importing ROI data
ERROR DESCRIPTION:

Error using rex>rex_do (line 741)
mismatched number of scans and covariate datapoints ([2 1] vs. [800 16])
Error in rex (line 180)
[params.ROIdata,params.ROInames,params.ROIinfo.basis,params.ROIinfo.voxels,params.ROIinfo.files,params.ROIinfo.select,params.ROIinfo.trans]=rex_do(params,1);
Error in conn_rex (line 8)
[varargout{1:nargout}]=rex(varargin{:});
Error in conn_process (line 858)
else [data{nroi1},namesroi{nroi},params]=conn_rex(Vsourcethis,Vmask{nroi}{min(nses,nsesstemp)},'summary_measure','eigenvariate','dims',CONN_x.Setup.rois.dimensions{nroi},'conjunction_mask',mask,'level',level,'scaling',scalinglevel,'select_clusters',0,'covariates',entercovariates,'fsanatomical',fsanatomical,'output_type',outputtype,'output_rex',filenamerex,'output_folder',filepath);
Error in conn_process (line 16)
case 'setup', conn_disp(['CONN: RUNNING SETUP STEP']); conn_process([0:4,4.5,5]);
Error in conn (line 5262)
else conn_process(processname); ispending=false;
Error in conn_menumanager (line 120)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN18.b
SPM12 + DEM FieldMap MEEGtools
Matlab v.2017b
project: CONN18.a
storage: 327.4Gb available
spm @ /home/demenzbild/Schreibtisch/spm12
conn @ /home/demenzbild/Schreibtisch/conn




I encountered this error-message and after multiple researches I still wasn´t able to figure out its reason. Maybe somebody could help me? I would be really really grateful if someone could help me with this task!

Thank you in advance,
Best regards,

Boris
Jun 12, 2019  03:06 AM | Andrea Dell Orco
RE: Error while importing ROI data
Hello Forum Users, Hello Boris

I have the same error-message with CONN 18b:
ERROR DESCRIPTION:
Error using rex>rex_do (line 741)
mismatched number of scans and covariate datapoints ([2 1] vs. [300 11])
Error in rex (line 180)
[params.ROIdata,params.ROInames,params.ROIinfo.basis,params.ROIinfo.voxels,params.ROIinfo.files,params.ROIinfo.select,params.ROIinfo.trans]=rex_do(params,1);
Error in conn_rex (line 8)
[varargout{1:nargout}]=rex(varargin{:});
Error in conn_process (line 858)
else [data{nroi1},namesroi{nroi},params]=conn_rex(Vsourcethis,Vmask{nroi}{min(nses,nsesstemp)},'summary_measure','eigenvariate','dims',CONN_x.Setup.rois.dimensions{nroi},'conjunction_mask',mask,'level',level,'scaling',scalinglevel,'select_clusters',0,'covariates',entercovariates,'fsanatomical',fsanatomical,'output_type',outputtype,'output_rex',filenamerex,'output_folder',filepath);
Error in conn_process (line 16)
case 'setup', conn_disp(['CONN: RUNNING SETUP STEP']); conn_process([0:4,4.5,5]);
Error in conn_jobmanager (line 783)
conn_process(job(n).fcn,job(n).args{2:end});
CONN v.18.b
SPM12 + DEM FieldMap MEEGtools wfupickatlas
Matlab v.2016a
storage: 1424.4Gb available
spm @ /opt/spm12
conn @ /opt/conn_18b


@boris: Did you maybe solve it?

@forum: or can anybody help me?

Best regards,
Andrea
Aug 7, 2019  12:08 AM | boris - LMU
RE: Error while importing ROI data
Hi all,

I still don have a solution for that issue? Does anybody have an idea what causes that issue and how it can be solved?

Thanks, 
Boris
Sep 10, 2019  12:09 PM | Eugenio Abela
RE: Error while importing ROI data
Hi Boris, 

I thin the error is in this line

mismatched number of scans and covariate datapoints ([2 1] vs. [800 16])

You seem to have loaded only two functional files, but your 16 covariates are 800 TR long.

This mismatch causes the error. Try reloading your functional files, and take care to add all the volumes you need.

Kind regards

Eugenio