When running brainstorm and attempting to perform T1 MRI segmentation with CAT12 to obtain cortex surfaces, I receive the following error:
Error: Line 472: spm_jobman>fill_run_job
** No executable modules, but still unresolved dependencies or incomplete module inputs.
**
** Call stack:
** >spm_jobman.m>fill_run_job at 472
** >spm_jobman.m at 247
** >process_segment_cat12.m>Compute at 359
** >process_segment_cat12.m>ComputeInteractive at 442
** >process_segment_cat12.m at 28
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@process_segment_cat12,'ComputeInteractive',iSubject,iAnatomy) at 3085
I'm not sure how to resolve this error so any advice is appreciated, thank you. Both Brainstorm and CAT12/SPM are up to date.
By itself, this error is difficult to interpret.
Please copy-paste the full text output you get between the moment you start the CAT12 computation and the error.
Both Brainstorm and CAT12/SPM are up to date.
Please specify if both CAT12 and SPM12 were installed as Brainstorm plugins, or if you installed them manually on your computer.
Thank you for the response but I have resolved the issue by unloading SPM. I believe I had two versions separate versions installed on different paths and that is what was causing the difficulties.
The problem seems to be CAT not being identified as a SPM toolbox.
Maybe unload and reload SPM and CAT plugins?
If it doesn't work uninstall and reinstall them both.
Check your Matlab path to make sure that you don't have SPM installed anywhere else on your computer.
Execute which cat12 and which spm12 in your Matlab command window: they should both be in the $HOME/.brainstorm/plugins folder.
Try starting spm12, close it. Then start cat12, close it. Can you start both?
If you can install and start spm12 and cat12 manually, not as Brainstorm plugins but as it is recommended in the respective websites, you could:
Run CAT12 independently from Brainstorm and later import the output in Brainstorm with the menu "Import anatomy folder", just like with FreeSurfer but changing the file format to import.
Thanks to your suggestions it's finally working!
I downloaded CAT straight from its website and saved it into SPM toolboxes folder.
Then I chose custom install and selected the folder in Brainstorm.
Hi Cassani,
Thank you for your repeated responses.
I received another error messages. Please give me advice.
Best,
Jun
** Error: Line 459: error: spm_jobman>fill_run_job (line 459)
** No executable modules, but still unresolved dependencies or incomplete module inputs.
**
** Call stack:
** >spm_jobman.m>fill_run_job at 459
** >spm_jobman.m at 231
** >process_segment_cat12.m>Compute at 359
** >process_segment_cat12.m>ComputeInteractive at 442
** >process_segment_cat12.m at 28
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@process_segment_cat12,'ComputeInteractive',iSubject,iAnatomy) at 3051
**
Hi Cassani,
Thank you for your kind reply. It's finally working.
I followed this reply. At first, it didn't work well. But I tried to do unloading and reloading again and again, then it works.