help > Recurrent error during the denoising step n5 (Importing ROI data).
Showing 1-2 of 2 posts
Sep 21, 2021 12:09 PM | camserbar
Recurrent error during the denoising step n5 (Importing ROI data).
Dear CONN users,
I am having some trouble with the denoising step. I use the latest CONN version (20. b), SPM12, and Matlab R2021b.
I always get the following error during denoising step 5/7 (i.e., Importing ROI data). The error never happens during the same participant. It crushed once at participant 44, then at 29 and then at 41. I have a total of 86 participants.
ERROR DESCRIPTION:
Error using spm_sample_vol
Cant open image file.
Error in rex>rex_do (line 741)
temp1(i,:) = spm_sample_vol(params.VF(i),XYZ(1,:),XYZ(2,:),XYZ(3,:),0);
Error in rex (line 192)
[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 934)
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 5743)
else conn_process(processname); ispending=false;
Error in conn_menumanager (line 121)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN20.b
SPM12 + DAiSS DEM FieldMap MEEGtools
Matlab v.2021a
project: CONN20.b
storage: 5958.1Gb available
spm @ C:\Users\camila\Documents\MATLAB\spm12
conn @ C:\Users\camila\Documents\MATLAB\conn
Could it be an incompatibility problem between the latest versions of MATLAB, CONN and SPM?
Any help would be very much appreciated!
Thank you very much!
Camila
I am having some trouble with the denoising step. I use the latest CONN version (20. b), SPM12, and Matlab R2021b.
I always get the following error during denoising step 5/7 (i.e., Importing ROI data). The error never happens during the same participant. It crushed once at participant 44, then at 29 and then at 41. I have a total of 86 participants.
ERROR DESCRIPTION:
Error using spm_sample_vol
Cant open image file.
Error in rex>rex_do (line 741)
temp1(i,:) = spm_sample_vol(params.VF(i),XYZ(1,:),XYZ(2,:),XYZ(3,:),0);
Error in rex (line 192)
[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 934)
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 5743)
else conn_process(processname); ispending=false;
Error in conn_menumanager (line 121)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN20.b
SPM12 + DAiSS DEM FieldMap MEEGtools
Matlab v.2021a
project: CONN20.b
storage: 5958.1Gb available
spm @ C:\Users\camila\Documents\MATLAB\spm12
conn @ C:\Users\camila\Documents\MATLAB\conn
Could it be an incompatibility problem between the latest versions of MATLAB, CONN and SPM?
Any help would be very much appreciated!
Thank you very much!
Camila
Sep 21, 2021 11:09 PM | Alfonso Nieto-Castanon - Boston University
RE: Recurrent error during the denoising step n5 (Importing ROI data).
Dear Camila,
The error indicates a problem accessing the files containing your functional data, if the error is sporadic and on different/random subjects each time then it may be related to a problem with your hard drive (for example, an external drive may become unresponsive after some amount of time without user interaction and/or if the operating system goes to sleep). I would probably suggest to copy the data to a local hard drive first to see if that solves this issue, and if it does then try to see if the issue with the external drive is a hardware problem or it can be fixed by modifying your operating system settings (e.g. in 'power settings' by stopping your computer from entering any sort of sleep mode while unattended).
Hope this helps
Alfonso
Originally posted by camserbar:
The error indicates a problem accessing the files containing your functional data, if the error is sporadic and on different/random subjects each time then it may be related to a problem with your hard drive (for example, an external drive may become unresponsive after some amount of time without user interaction and/or if the operating system goes to sleep). I would probably suggest to copy the data to a local hard drive first to see if that solves this issue, and if it does then try to see if the issue with the external drive is a hardware problem or it can be fixed by modifying your operating system settings (e.g. in 'power settings' by stopping your computer from entering any sort of sleep mode while unattended).
Hope this helps
Alfonso
Originally posted by camserbar:
Dear CONN users,
I am having some trouble with the denoising step. I use the latest CONN version (20. b), SPM12, and Matlab R2021b.
I always get the following error during denoising step 5/7 (i.e., Importing ROI data). The error never happens during the same participant. It crushed once at participant 44, then at 29 and then at 41. I have a total of 86 participants.
ERROR DESCRIPTION:
Error using spm_sample_vol
Cant open image file.
Error in rex>rex_do (line 741)
temp1(i,:) = spm_sample_vol(params.VF(i),XYZ(1,:),XYZ(2,:),XYZ(3,:),0);
Error in rex (line 192)
[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 934)
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 5743)
else conn_process(processname); ispending=false;
Error in conn_menumanager (line 121)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN20.b
SPM12 + DAiSS DEM FieldMap MEEGtools
Matlab v.2021a
project: CONN20.b
storage: 5958.1Gb available
spm @ C:\Users\camila\Documents\MATLAB\spm12
conn @ C:\Users\camila\Documents\MATLAB\conn
Could it be an incompatibility problem between the latest versions of MATLAB, CONN and SPM?
Any help would be very much appreciated!
Thank you very much!
Camila
I am having some trouble with the denoising step. I use the latest CONN version (20. b), SPM12, and Matlab R2021b.
I always get the following error during denoising step 5/7 (i.e., Importing ROI data). The error never happens during the same participant. It crushed once at participant 44, then at 29 and then at 41. I have a total of 86 participants.
ERROR DESCRIPTION:
Error using spm_sample_vol
Cant open image file.
Error in rex>rex_do (line 741)
temp1(i,:) = spm_sample_vol(params.VF(i),XYZ(1,:),XYZ(2,:),XYZ(3,:),0);
Error in rex (line 192)
[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 934)
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 5743)
else conn_process(processname); ispending=false;
Error in conn_menumanager (line 121)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN20.b
SPM12 + DAiSS DEM FieldMap MEEGtools
Matlab v.2021a
project: CONN20.b
storage: 5958.1Gb available
spm @ C:\Users\camila\Documents\MATLAB\spm12
conn @ C:\Users\camila\Documents\MATLAB\conn
Could it be an incompatibility problem between the latest versions of MATLAB, CONN and SPM?
Any help would be very much appreciated!
Thank you very much!
Camila