Skip to content

Variable 'Ysrc' not found. #61

Description

@psadil

This seems to be caused by an issue with trying to have verbose logging without also having the debug flag. See

cat12/cat_main1639.m

Lines 363 to 368 in ee2d96e

if ~debug; clear Ysrc ; end
if job.extopts.verb>2
tpmci=tpmci+1; tmpmat = fullfile(job.BIDS(job.subj).reportdir,sprintf('%s_%s%02d%s.mat',nam,'write',tpmci,'postLAS'));
save(tmpmat,'Ysrc','Ycls','Ymi','Yb','T3th','vx_vol');
end

Here's the log:

------------------------------------------------------------------------
CAT12.9 r2577: 1/1:        /tmp/tmp1cxj4951/cat12/sub-10904_ses-V1_T1w.n
------------------------------------------------------------------------
SANLM denoising (medium)                                             18s
Affine preprocessing (APP)                                        
  Initialize                                                          7s
  Estimate background                                                 7s
  Initial correction                                                  6s
  Refine background                                                   3s
  Final correction                                                    5s
  Final scaling                                                       7s
                                                                     41s
Correct center-of-mass                                               13s
Affine registration                                                   6s
SPM preprocessing 1 (estimate 1 - TPM registration):                 53s
SPM preprocessing 1 (estimate 2):                                    48s
SPM preprocessing 2 (write)                                       
  Write Segmentation                                                 18s
  Update Segmentation                                                13s
  Update Skull-Stripping                                             36s
  Update probability maps                                            12s
                                                                     80s
Global intensity correction                                          16s
SANLM denoising after intensity normalization (medium)                5s
Fast Optimized Shooting registration                                  2s
   37s
Local adaptive segmentation (LASstr=0.50)                         
  Prepare maps                                                        3s
  Prepare partitions                                                  1s
  Prepare segments (LASmod = 1.00)                                   10s
  Estimate local tissue thresholds (WM)                              16s
  Estimate local tissue thresholds (GM)                              18s
  Intensity transformation                                            0s
  SANLM denoising after LAS (medium)                                 15s
                                                                     66s

------------------------------------------------------------------------
CAT Preprocessing error for sub-10904_ses-V1_T1w:
------------------------------------------------------------------------
Variable 'Ysrc' not found.
------------------------------------------------------------------------
  358 - cat_main1639
 1405 - cat_run_job1639
   40 - cat_run_newcatch
 1325 - run_job
  810 - cat_run
   29 - cfg_run_cm
 1717 - local_runcj
  972 - cfg_util
  469 - fill_run_job
  247 - spm_jobman
  101 - spm_standalone

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions