Deactivated background masking in CAT12 segmentation

Hi @Francois

When using CAT12 for segmentation, I noticed a warning message. I wonder if this is a bug?

By default (in windows), the brainstorm uses the TPM files under the path of *.brainstorm\defaults* but the strcmp used in CAT12 is under SPM toolbox which is: *\brainstorm\plugins\spm12\spm12\tmp* this makes the mismatch triggers the warning message (code below).

https://github.com/ChristianGaser/cat12/blob/bc33fc203a23a48bdf9f7ece7d17efe5b2078257/cat_run_job1639.m#L892-L914

image

Thank you for your time

Best regards
Ken

Hi Ken,

Thank you for the detailed information.
Now, Brainstorm prefers the SPM TPM.nii file if it is available: 3a38bdb

1 Like