Summary of what happened:
Hello!
I am running aslprep through Neurodesk.
And we are getting back the same error, what we believe does not make sense…
Any help would be appreciated.
Thanks in advance!
Version:
0.7.2
Environment (Docker, Singularity / Apptainer, custom installation):
Neurodesk
I have used the following command (which I have been using for long at it previously worked perfectly):
Command used
aslprep \
neurodesktop-storage/Agueda/BIDS \
neurodesktop-storage/Agueda/BIDS/derivatives/aslprep \
participant \
--participant-label sub-388 \
--force-bbr \
--basil \
--ignore t2w \
--fs-subjects-dir neurodesktop-storage/Agueda/BIDS/derivatives/freesurfer/sourcedata/freesurfer_pre/sourcedata \
--bids-filter-file neurodesktop-storage/Agueda/BIDS/BIDS_filter_file.json \
--fs-license-file neurodesktop-storage/Agueda/BIDS/license.txt \
--skip_bids_validation \
-vv \
-w \
neurodesktop-storage/Agueda/BIDS
We have tried to run without freesurfer pre-existing directory and with --fs-no-reconall command. We also tried using previous version on aslprep (0.6.0 and 0.7.0) and we are receiving the same error all the times.
aslprep \
neurodesktop-storage/Agueda/BIDS \
neurodesktop-storage/Agueda/BIDS/derivatives/aslprep \
participant \
--participant-label sub-388 \
--force-bbr \
--basil \
--ignore t2w \
--fs-no-reconall \
--bids-filter-file neurodesktop-storage/Agueda/BIDS/BIDS_filter_file.json \
--fs-license-file neurodesktop-storage/Agueda/BIDS/license.txt \
--skip_bids_validation \
-vv \
-w neurodesktop-storage/Agueda/BIDS
Relevant Log Outputs
> Traceback (most recent call last):
File "/opt/conda/envs/aslprep/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/opt/conda/envs/aslprep/lib/python3.11/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/envs/aslprep/lib/python3.11/site-packages/aslprep/cli/workflow.py", line 95, in build_workflow
retval["workflow"] = init_aslprep_wf()
^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/aslprep/lib/python3.11/site-packages/aslprep/workflows/base.py", line 68, in init_aslprep_wf
single_subject_wf = init_single_subject_wf(subject_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/aslprep/lib/python3.11/site-packages/aslprep/workflows/base.py", line 273, in init_single_subject_wf
anat_fit_wf = init_anat_fit_wf(
^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/aslprep/lib/python3.11/site-packages/smriprep/workflows/anatomical.py", line 749, in init_anat_fit_wf
anat_template_wf = init_anat_template_wf(
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/aslprep/lib/python3.11/site-packages/smriprep/workflows/anatomical.py", line 1483, in init_anat_template_wf
StructuralReference(
File "/opt/conda/envs/aslprep/lib/python3.11/site-packages/nipype/interfaces/freesurfer/base.py", line 244, in __init__
super(FSCommandOpenMP, self).__init__(**inputs)
File "/opt/conda/envs/aslprep/lib/python3.11/site-packages/nipype/interfaces/freesurfer/base.py", line 134, in __init__
self.inputs.subjects_dir = self._subjects_dir
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/aslprep/lib/python3.11/site-packages/nipype/interfaces/base/traits_extension.py", line 135, in validate
self.error(objekt, name, str(value))
File "/opt/conda/envs/aslprep/lib/python3.11/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'subjects_dir' trait of a RobustTemplateInputSpec instance must be a pathlike object or string representing an existing directory, but a value of '/home/jovyan/freesurfer-subjects-dir' <class 'str'> was specified.