19-Dec-2020 17:40:31 - Failed 'CAT12: Segmentation (current release)'
Reference to non-existent field 'vol_rel_WMH'.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_main_reportstr.m" (v1730), function "cat_main_reportstr" at line 320.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_io_report.m" (???), function "cat_io_report" at line 208.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_run_newcatch.m" (???), function "cat_run_newcatch" at line 204.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_run.m" (v1736), function "run_job" at line 866.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_run.m" (v1736), function "cat_run" at line 455.
The following modules did not run:
Failed: CAT12: Segmentation (current release)
Error using MATLABbatch system
Job execution failed. The full log of this run can be found in MATLAB command
window, starting with the lines (look for the line showing the exact #job as
displayed in this error message)
Running job #1
I am getting this error and don't know what is causing it or how to solve it.
Can you please help me?
Thanks
------------------------------------------------------------------------
21-Dec-2020 12:31:04 - Running job #1
------------------------------------------------------------------------
------------------------------------------------------------------------
21-Dec-2020 12:31:04 - Running job #1
------------------------------------------------------------------------
21-Dec-2020 12:31:04 - Running 'CAT12: Segmentation (current release)'
21-Dec-2020 12:31:04 - Running 'CAT12: Segmentation (current release)'
Warning: File not found or permission denied
> In cat_run_job1639 (line 68)
In cat_run_newcatch (line 34)
In cat_run>run_job (line 866)
In cat_run (line 455)
In cfg_run_cm (line 29)
In cfg_util>local_runcj (line 1717)
In cfg_util (line 972)
In spm_jobman>fill_run_job (line 469)
In spm_jobman (line 247)
In matlab_seq>with_affine_segm (line 102)
In matlab_seq (line 25)
------------------------------------------------------------------------
CAT12.7 r1739: 1/1: /home/emdim/scratch/workspace/done/1063167_MNI.nii
------------------------------------------------------------------------
------------------------------------------------------------------------
CAT12.7 r1739: 1/1: /home/emdim/scratch/workspace/done/1063167_MNI.nii
------------------------------------------------------------------------
SANLM denoising (medium): SANLM denoising (medium): 28s
28s
-----------------------------------------------------------------------------
WARNING 01: cat_run_job1639cat_run_job:skullStrippedInputWithSkullStripping
Detected skull-stripped or strongly masked image. Skip APP.
Use skull-stripped initial affine registration template and
TPM without head tissues (class 4 and 5)!
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
WARNING 01: cat_run_job1639cat_run_job:skullStrippedInputWithSkullStripping
Detected skull-stripped or strongly masked image. Skip APP.
Use skull-stripped initial affine registration template and
TPM without head tissues (class 4 and 5)!
-----------------------------------------------------------------------------
APP: Rough bias correction: APP: Rough bias correction:
Initialize Initialize 7s
Estimate background 7s
Estimate background 7s
Initial correction 7s
Initial correction 6s
Refine background 6s
Refine background 3s
Final correction 3s
Final correction 6s
Final scaling 6s
Final scaling 7s
7s
42s
Affine registration 42s
Affine registration 3s
Affine registration 3s
Affine registration 6s
SPM preprocessing 1 (estimate 1): 6s
SPM preprocessing 1 (estimate 1):
Final fine affine registration failed.
Use fine affine registration from previous step.
Final fine affine registration failed.
Use fine affine registration from previous step.
17s
SPM preprocessing 1 (estimate 2): 17s
SPM preprocessing 1 (estimate 2): 33s
33s
SPM preprocessing 2 (write):
Warning: File not found or permission denied
> In cat_main1639>cat_main_updatepara (line 1031)
In cat_main1639 (line 25)
In cat_run_job1639 (line 912)
Write Segmentation In cat_run_newcatch (line 34)
In cat_run>run_job (line 866)
In cat_run (line 455)
In cfg_run_cm (line 29)
In cfg_util>local_runcj (line 1717)
In cfg_util (line 972)
In spm_jobman>fill_run_job (line 469)
In spm_jobman (line 247)
In matlab_seq>with_affine_segm (line 102)
In matlab_seq (line 25)
SPM preprocessing 2 (write):
Write Segmentation 14s
14s
Update Segmentation Update Segmentation 36s
Update Skull-Stripping 36s
Update Skull-Stripping 10s
Update probability maps 10s
Update probability maps 18s
77s
Global intensity correction: 18s
78s
Global intensity correction: 19s
SANLM denoising after intensity normalization (medium): 19s
SANLM denoising after intensity normalization (medium): 18s
Fast registration 19s
Fast registration 65s
Local adaptive segmentation (LASstr=0.50):
Prepare maps 66s
Local adaptive segmentation (LASstr=0.50):
Prepare maps 8s
Prepare partitions 8s
Prepare partitions 2s
2s
Prepare segments (LASmod = 1.00) Prepare segments (LASmod = 1.00) 23s
Estimate local tissue thresholds (WM) 23s
Estimate local tissue thresholds (WM) 17s
Estimate local tissue thresholds (GM) 17s
Estimate local tissue thresholds (GM) 20s
Estimate local tissue thresholds (CSF/BG) 20s
Estimate local tissue thresholds (CSF/BG) 4s
Intensity transformation 4s
Intensity transformation 76s
SANLM denoising after LAS (medium) 76s
SANLM denoising after LAS (medium) 31s
31s
ROI segmentation (partitioning):
Atlas -> subject space 32s
32s
ROI segmentation (partitioning):
Atlas -> subject space 12s
Major structures 11s
Major structures 7s
Ventricle detection 7s
Ventricle detection 16s
Blood vessel detection 16s
Blood vessel detection 18s
WMH detection (WMHCstr=0.50 > WMHCstr'=0.50) 18s
WMH detection (WMHCstr=0.50 > WMHCstr'=0.50) 28s
Manual stroke lesion detection 0s
Closing of deep structures 29s
Manual stroke lesion detection 0s
Closing of deep structures 3s
Side alignment 3s
Side alignment 6s
Final corrections 6s
Final corrections 5s
94s
Blood vessel correction (BVCstr=0.50): 5s
94s
Blood vessel correction (BVCstr=0.50): 1s
1s
Amap using initial SPM12 segmentations (MRF filter strength 0.06):Amap using initial SPM12 segmentations (MRF filter strength 0.06): 33s
AMAP peaks: [CSF,GM,WM] = [0.52±0.12,0.79±0.04,0.96±0.04]
33s
AMAP peaks: [CSF,GM,WM] = [0.52±0.12,0.79±0.04,0.96±0.04]
Final cleanup (gcutstr=0.25):
Level 1 cleanup (ROI estimation) Final cleanup (gcutstr=0.25):
Level 1 cleanup (ROI estimation) 6s
Level 1 cleanup (brain masking) 6s
Level 1 cleanup (brain masking) 3s
Level 2 cleanup (CSF correction) 3s
Level 2 cleanup (CSF correction) 2s
Level 3 cleanup (CSF/WM PVE) 2s
Level 3 cleanup (CSF/WM PVE) 4s
14s
4s
14s
Optimized Shooting registration with 2.50:-0.25:1.50 mm (regstr=0.50):
Template: "/home/emdim/scratch/spm12/toolbox/cat12/templates_volumes/Template_0_IXI555_MNI152_GS.nii"
Optimized Shooting registration with 2.50:-0.25:1.50 mm (regstr=0.50):
Template: "/home/emdim/scratch/spm12/toolbox/cat12/templates_volumes/Template_0_IXI555_MNI152_GS.nii"
1 | 2.50 | 1 | 2.50 | 0.1214 0.0000 0.1214
0.1214 0.0000 0.1214
2 | 2.50 | 2 | 2.50 | 0.1150 0.0020 0.1170
0.1150 0.0020 0.1170
3 | 2.50 | 3 | 2.50 | 0.1122 0.0033 0.1155
0.1122 0.0033 0.1155
4 | 2.50 | 4 | 2.50 | 0.1101 0.0041 0.1142
0.1101 0.0041 0.1142
5 | 2.50 | 5 | 2.50 | 0.1080 0.0047 0.1127
0.1080 0.0047 0.1127
6 | 2.50 | 6 | 2.50 | 0.1058 0.0053 0.1111
0.1058 0.0053 0.1111
7 | 2.50 | 7 | 2.50 | 0.1034 0.0059 0.1093
0.1034 0.0059 0.1093
8 | 2.50 | 8 | 2.50 | 0.1011 0.0065 0.1075
0.1011 0.0065 0.1075
9 | 2.50 | 9 | 2.50 | 0.0988 0.0070 0.1058
0.0988 0.0070 0.1058
10 | 2.50 | 10 | 2.50 | 0.0965 0.0075 0.1041
0.0965 0.0075 0.1041
11 | 2.50 | 11 | 2.50 | 0.0944 0.0080 0.1024
0.0944 0.0080 0.1024
12 | 2.50 | 12 | 2.50 | 0.0923 0.0085 0.1008
0.0923 0.0085 0.1008
13 | 2.50 | 13 | 2.50 | 0.0904 0.0090 0.0994
0.0904 0.0090 0.0994
14 | 2.50 | 14 | 2.50 | 0.0887 0.0094 0.0981
0.0887 0.0094 0.0981
15 | 2.50 | 15 | 2.50 | 0.0867 0.0099 0.0965
0.0867 0.0099 0.0965
16 | 2.25 | 16 | 2.25 | 0.0989 0.0290 0.1279
0.0989 0.0290 0.1279
17 | 2.25 | 17 | 2.25 | 0.0894 0.0150 0.1044
0.0894 0.0150 0.1044
18 | 2.25 | 18 | 2.25 | 0.0865 0.0157 0.1022
0.0865 0.0157 0.1022
30 | 2.00 | 30 | 2.00 | 0.0915 0.0256 0.1170
0.0915 0.0256 0.1170
31 | 2.00 | 31 | 2.00 | 0.0819 0.0189 0.1008
0.0819 0.0189 0.1008
32 | 2.00 | 32 | 2.00 | 0.0787 0.0203 0.0990
0.0787 0.0203 0.0990
44 | 1.75 | 44 | 1.75 | 0.0802 0.0309 0.1111
0.0802 0.0309 0.1111
45 | 1.75 | 45 | 1.75 | 0.0743 0.0231 0.0973
0.0743 0.0231 0.0973
46 | 1.75 | 46 | 1.75 | 0.0729 0.0236 0.0965
0.0729 0.0236 0.0965
58 | 1.50 | 58 | 1.50 | 0.0818 0.0351 0.1170
0.0818 0.0351 0.1170
59 | 1.50 | 59 | 1.50 | 0.0726 0.0278 0.1004
0.0726 0.0278 0.1004
60 | 1.50 | 60 | 1.50 | 0.0704 0.0286 0.0990
0.0704 0.0286 0.0990
Shooting registration with 2.50:-0.25:1.50 mm takes: 277s
Prepare output Shooting registration with 2.50:-0.25:1.50 mm takes: 277s
Prepare output 14s
291s
Jacobian determinant (RMS): 0.553985
Template Matching: 15s
291s
Jacobian determinant (RMS): 0.211176
0.553985
Template Matching: 0.211176
Write result maps: Write result maps: Warning: File not found or permission denied
> In cat_io_writenii (line 129)
In cat_main_write (line 61)
In cat_main1639 (line 630)
In cat_run_job1639 (line 912)
In cat_run_newcatch (line 34)
In cat_run>run_job (line 866)
In cat_run (line 455)
In cfg_run_cm (line 29)
In cfg_util>local_runcj (line 1717)
In cfg_util (line 972)
In spm_jobman>fill_run_job (line 469)
In spm_jobman (line 247)
In matlab_seq>with_affine_segm (line 102)
In matlab_seq (line 25)
Warning: File not found or permission denied
> In cat_io_writenii (line 293)
In cat_main_write (line 74)
In cat_main1639 (line 630)
In cat_run_job1639 (line 912)
In cat_run_newcatch (line 34)
In cat_run>run_job (line 866)
In cat_run (line 455)
In cfg_run_cm (line 29)
In cfg_util>local_runcj (line 1717)
In cfg_util (line 972)
In spm_jobman>fill_run_job (line 469)
In spm_jobman (line 247)
In matlab_seq>with_affine_segm (line 102)
In matlab_seq (line 25)
Warning: File not found or permission denied
> In cat_io_writenii (line 293)
In cat_main_write (line 74)
In cat_main1639 (line 630)
In cat_run_job1639 (line 912)
In cat_run_newcatch (line 34)
In cat_run>run_job (line 866)
In cat_run (line 455)
In cfg_run_cm (line 29)
In cfg_util>local_runcj (line 1717)
In cfg_util (line 972)
In spm_jobman>fill_run_job (line 469)
In spm_jobman (line 247)
In matlab_seq>with_affine_segm (line 102)
In matlab_seq (line 25)
2s
2s
Surface and thickness estimation: Surface and thickness estimation:
lh:
Thickness estimation (0.50 mm³):
lh:
Thickness estimation (0.50 mm³):
WM distance: WM distance: 57s
CSF distance: 57s
CSF distance: 30s
PBT2x thickness: 30s
PBT2x thickness: 22s
22s
124s
124s
Create initial surface Create initial surface
------------------------------------------------------------------------
CAT Preprocessing error for 1063167_MNI:
------------------------------------------------------------------------
/bin/bash: /lustre04/scratch/emdim/spm12/toolbox/cat12/CAT.glnx86/CAT_Surf2Sphere: Permission denied
------------------------------------------------------------------------
------------------------------------------------------------------------
CAT Preprocessing error for 1063167_MNI:
------------------------------------------------------------------------
/bin/bash: /lustre04/scratch/emdim/spm12/toolbox/cat12/CAT.glnx86/CAT_Surf2Sphere: Permission denied
------------------------------------------------------------------------
27 - cat_check_system_output
747 - cat_surf_createCS
698 - cat_main1639
912 - cat_run_job1639
34 - cat_run_newcatch
866 - run_job
455 - cat_run
29 - cfg_run_cm
1717 - local_runcj
972 - cfg_util
469 - fill_run_job
247 - spm_jobman
102 - with_affine_segm
25 - matlab_seq
------------------------------------------------------------------------
27 - cat_check_system_output
747 - cat_surf_createCS
698 - cat_main1639
912 - cat_run_job1639
34 - cat_run_newcatch
866 - run_job
455 - cat_run
29 - cfg_run_cm
1717 - local_runcj
972 - cfg_util
469 - fill_run_job
247 - spm_jobman
102 - with_affine_segm
25 - matlab_seq
------------------------------------------------------------------------
21-Dec-2020 12:49:51 - Failed 'CAT12: Segmentation (current release)'
21-Dec-2020 12:49:51 - Failed 'CAT12: Segmentation (current release)'
Reference to non-existent field 'vol_rel_WMH'.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_main_reportstr.m" (v1730), function "cat_main_reportstr" at line 320.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_io_report.m" (???), function "cat_io_report" at line 208.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_run_newcatch.m" (???), function "cat_run_newcatch" at line 204.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_run.m" (v1736), function "run_job" at line 866.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_run.m" (v1736), function "cat_run" at line 455.
Reference to non-existent field 'vol_rel_WMH'.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_main_reportstr.m" (v1730), function "cat_main_reportstr" at line 320.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_io_report.m" (???), function "cat_io_report" at line 208.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_run_newcatch.m" (???), function "cat_run_newcatch" at line 204.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_run.m" (v1736), function "run_job" at line 866.
In file "/lustre04/scratch/emdim/spm12/toolbox/cat12/cat_run.m" (v1736), function "cat_run" at line 455.
The following modules did not run:
Failed: CAT12: Segmentation (current release)
The following modules did not run:
Failed: CAT12: Segmentation (current release)
Error using MATLABbatch system
Job execution failed. The full log of this run can be found in MATLAB command
window, starting with the lines (look for the line showing the exact #job as
displayed in this error message)
------------------
Running job #1
------------------
Error using MATLABbatch system
Job execution failed. The full log of this run can be found in MATLAB command
window, starting with the lines (look for the line showing the exact #job as
displayed in this error message)
------------------
Running job #1
I think the error may be a permission error as I am running the script on a cluster. However, I am not sure. If that is the case, is there a way to determine what output directory I want using matlabbatch?
Hello,
I also get this error and I did't change the WMH setting(default "set WMH temporary as WM").The error in command window is:
Reference to non-existent field 'vol_rel_WMH'.
Error in cat_main_reportstr (line 320)
if job.extopts.WMHC<=2 && (qa.subjectmeasures.vol_rel_WMH>0.01 || ...
Error in cat_io_report (line 208)
str = cat_main_reportstr(job,cat_err_res.res,qa);
Error in cat_run_newcatch (line 204)
cat_io_report(job,qa,subj)
Error in cat_run>run_job (line 866)
cat_run_newcatch(job,tpm,subj);
Error in cat_run (line 455)
varargout{1} = run_job(job);'
How can I solve this error?
Thanks for responding. I downloaded latest version of cat means(r1739) and couldn't find r.1741!! Can you give me a website for downloading latest version that you mean?(CAT12.r1741)