Summary of what happened:
New Mac in the lab, required new installation of fMRIprep. Installation is done by IT people and this is a managed computer if it makes any difference.
The initial installation was a little messy… maybe it’s still not installed right.
Running with Dockers on a Mac M2, 16gb
on my former computer, I was able to preprocess my files using -no-reconall but I would like to run it this time.
Can you please tell me if it’s an installation issue, missing paths, or a command issue?
Also, reading what I can understand from the output, this folder /Volumes/NENS01/BIDS/derivativesTest/sourcedata/freesurfer. does not exist… should it?
Thank you!
Command used (and if a helper script was used, a link to the helper script or the command generated):
fmriprep /Volumes/NENS01/BIDS/raw /Volumes/NENS01/BIDS/derivativesTest participant --participant-label sub-004 --fs-license-file /Volumes/NENS01/fsl_license/license.txt --skip-bids-validation --dummy-scans 1 --output-spaces MNI152NLin2009cAsym:res-2 -w /Volumes/NENS01/BIDS/Testfolder
Version:
fMRIPrep v23.1.4. (I know there is a newer version but knowing what the issue is here might help me get everything fixed when I the IT people come help again).
Environment (Docker, Singularity / Apptainer, custom installation):
Docker v24.0.7 (is it important to update it as well?)
Data formatted according to a validatable standard? Please provide the output of the validator:
Files are Bids and were already preprocessed on an older computer with an older version of fMRIprep
Relevant log outputs (up to 20 lines):
You are using fMRIPrep-23.1.4,...
240205-14:28:58,33 cli WARNING:
Telemetry disabled because sentry_sdk is not installed.
240205-14:29:10,693 nipype.workflow IMPORTANT:
Running fMRIPrep version 23.1.4
License NOTICE ##################################################
-cut this out for space here, I don't think it's important-
#################################################################
240205-14:29:10,909 nipype.workflow IMPORTANT:
Building fMRIPrep's workflow:
* BIDS dataset path: /Volumes/NENS01/BIDS/raw.
* Participant list: ['004'].
* Run identifier: 20240205-142857_a83af3a8-c8dd-435c-8158-ce0de9573d90.
* Output spaces: MNI152NLin2009cAsym:res-2.
* Pre-run FreeSurfer's SUBJECTS_DIR: /Volumes/NENS01/BIDS/derivativesTest/sourcedata/freesurfer.
Process Process-2:
Traceback (most recent call last):
File "/Users/nens.lab/miniconda3/lib/python3.11/site-packages/nipype/interfaces/base/traits_extension.py", line 129, in validate
value = Path(value) # Use pathlib's validation
^^^^^^^^^^^
File "/Users/nens.lab/miniconda3/lib/python3.11/pathlib.py", line 871, in __new__
self = cls._from_parts(args)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/nens.lab/miniconda3/lib/python3.11/pathlib.py", line 509, in _from_parts
drv, root, parts = self._parse_args(args)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nens.lab/miniconda3/lib/python3.11/pathlib.py", line 493, in _parse_args
a = os.fspath(a)
^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/nens.lab/miniconda3/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/Users/nens.lab/miniconda3/lib/python3.11/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/nens.lab/miniconda3/lib/python3.11/site-packages/fmriprep/cli/workflow.py", line 115, in build_workflow
retval["workflow"] = init_fmriprep_wf()
^^^^^^^^^^^^^^^^^^
File "/Users/nens.lab/miniconda3/lib/python3.11/site-packages/fmriprep/workflows/base.py", line 80, in init_fmriprep_wf
BIDSFreeSurferDir(
File "/Users/nens.lab/miniconda3/lib/python3.11/site-packages/nipype/interfaces/base/core.py", line 563, in __init__
super(SimpleInterface, self).__init__(
File "/Users/nens.lab/miniconda3/lib/python3.11/site-packages/nipype/interfaces/base/core.py", line 202, in __init__
self.inputs.trait_set(**inputs)
File "/Users/nens.lab/miniconda3/lib/python3.11/site-packages/traits/has_traits.py", line 1520, in trait_set
setattr(self, name, value)
File "/Users/nens.lab/miniconda3/lib/python3.11/site-packages/nipype/interfaces/base/traits_extension.py", line 131, in validate
self.error(objekt, name, str(value))
File "/Users/nens.lab/miniconda3/lib/python3.11/site-packages/traits/base_trait_handler.py", line 74, in error
raise TraitError(
traits.trait_errors.TraitError: The 'freesurfer_home' trait of a _BIDSFreeSurferDirInputSpec instance must be a pathlike object or string representing an existing directory, but a value of 'None' <class 'str'> was specified.