spm not in matlab path #1256
-
Hi, recently I try to use clinica to preprocess t1 and then PET images. Traceback (most recent call last):
To get started, type doc. Executing pyscript_newsegment at 19-Aug-2024 16:32:19:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
Any idea about this would be very helpful~ |
Beta Was this translation helpful? Give feedback.
-
Hi @alienx-zero Thanks for reporting. First, could you verify that you have the environment variable
It should print You can then try something very simple to verify this hypothesis:
And then try running the script:
Hopefully, you shouldn't get this error and SPM should start. Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Now, I get into new trouble. Here is the result:
Clinica will proceed with the latest run available, that is -/media/alex/Expansion/Data/OASIS3/PET_processing/PET_BIDS/sub-OAS30001/ses-M078/anat/sub-OAS30001_ses-M078_run-04_T1w.nii.gz.
Clinica will proceed with the latest run available, that is -/media/alex/Expansion/Data/OASIS3/PET_processing/PET_BIDS/sub-OAS30002/ses-M078/anat/sub-OAS30002_ses-M078_run-05_T1w.nii.gz.
Clinica will proceed with the latest run available, that is -/media/alex/Expansion/Data/OASIS3/PET_processing/PET_BIDS/sub-OAS30003/ses-M090/anat/sub-OAS30003_ses-M090_run-08_T1w.nii.gz.
Clinica will proceed with the latest run available, that is -/media/alex/Expansion/Data/OASIS3/PET_processing/PET_BIDS/sub-OAS30003/ses-M120/anat/sub-OAS30003_ses-M120_run-04_T1w.nii.gz. Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Another question is can we create the SUVR mapping for each ROI defined for whole brain? I see the default mask.nii 'pons|cerebellumPons|pons2|cerebellumPons2', they are binaried mask with one parcel. However, if I want to use AAL or schaefer, Yeo parcellations which contain multiple parcels for whole brain. If I add 'aal.nii.gz' into the pet.py, whether this whole brain mask will work? |
Beta Was this translation helpful? Give feedback.
-
@NicolasGensollen , hi I get a new problem, I defined the parcellation in atlas.py. However, after pet volume preprocessed, the tsv of statistics of this parcellation is still not generated, Here is how I defined the parcellation:
Here is the comments I ran in terminal: Any suggestions? |
Beta Was this translation helpful? Give feedback.
Hi @alienx-zero
Let me just try to understand. Your initial message was reporting an issue with SPM not being in the Matlab path when running the
t1-volume
pipeline. Theoretically, upgrading to Clinica0.8.4
should solve this problem.Did you end up upgrading to
0.8.4
? Were you able to run this pipeline successfully ?Your latest message seems to be related to another pipeline, the
pet-volume
pipeline, for which having correctly runt1-volume
is a pre-requisite (which is why I'm checking that this was indeed successful).If that is the case, could you show what you input folders look like (both the BIDS input folder and the CAPS folder which should contain the output of the
t1-volume
pip…