Hi Clinica Team,
There are some bugs when we run the command `clinica run t1-volume [OPTIONS] BIDS_DIRECTORY CAPS_DIRECTORY GROUP_LABEL` to process the MRI in the BIDS directory. I attached the complete error information and the sbatch script we used in a separate file.
Our clinica conda environment is built on a cluster server, and we have some built-in MATLAB modules in it:
`matlab/r2018a matlab/r2021a matlab/r2021b matlab/r2023a matlab/r2023b matlab/r2024a matlab/r2025a matlab/r2025b`
We followed the SPM wiki instructions to install `spm_25.01.02.zip` and `spm12_updates_r7771.zip`. In the sbatch script file, we exported the path of spm and loaded the MATLAB module. I tried to explicitly add spm path to the loaded Matlab module, but the bug always exists no matter I include this or not.
So, based on some possible reasons about the bug, my question is:
Thank you for your time and help in advance!
Best,
Shiyun