Dear community,
I want to to report a potential bug when calling cat12 to perform segmentation of a T1 weighted scan.
When being called, the underlying code looks for a template file for processing
File: 'full_directory\spm12\toolbox\cat12\templates_1.50mm\Template_1_IXI555_MNI152.nii".
However, cat12 has updated its package and renamed the folder 'templates_1.50mm' to 'templates_volumes'.
When running cat12 segmentation, an error is given because brainstorm cannot find this templates_1.50mm folder.
I think there is one particular step in which the call to folder/file is hard-coded thus making it unable to find the renamed folder.
Intermediate solution for individual use:
duplicate the folder 'templates_volumes'. and rename it to 'templates_1.50mm'.
Don't remove 'templates_volumes'. as after the initial errors, the full pathway is called dynamically. So you need both folders to run cat12 segmentation at this point.
To investigate this issue:
Install the latest version of cat12 and call cat12 segmentation through brainstorm and this error should pop up. Subsequently, you can look up the script and line number where this error is produced.
Cheers
Guy Rens
grens@uwo.ca
renguy1@gmail.com