Dear experts,
I recently updated fMRIprep to the version 21.0.0. However, when I run the same command I was running with the previous version (20.5.2) I get the following error:
220120-10:10:34,638 nipype.workflow IMPORTANT:
Running fMRIPrep version 21.0.0
License NOTICE ##################################################
fMRIPrep 21.0.0
Copyright 2021 The NiPreps Developers.
This product includes software developed by
the NiPreps Community (https://nipreps.org/).
Portions of this software were developed at the Department of
Psychology at Stanford University, Stanford, CA, US.
This software redistributes the versioneer Python package, which is
Public domain source code.
This software is also distributed as a Docker container image.
The bootstraping file for the image ("Dockerfile") is licensed
under the MIT License.
This software may be distributed through an add-on package called
"Docker Wrapper" that is under the BSD 3-clause License.
#################################################################
220120-10:10:34,769 nipype.workflow IMPORTANT:
Building fMRIPrep's workflow:
* BIDS dataset path: /EBC/home/mblesa/study_5y/PRUEBA/BIDs_data.
* Participant list: ['007'].
* Run identifier: 20220120-101019_997160e3-3ca0-469b-a2bc-6921d0acc84d.
* Output spaces: MNI152NLin2009cAsym:res-2.
* Pre-run FreeSurfer's SUBJECTS_DIR: /EBC/home/mblesa/study_5y/PRUEBA/derivatives/sourcedata/freesurfer.
Process Process-2:
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/opt/conda/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/lib/python3.8/site-packages/fmriprep/cli/workflow.py", line 118, in build_workflow
retval["workflow"] = init_fmriprep_wf()
File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 85, in init_fmriprep_wf
single_subject_wf = init_single_subject_wf(subject_id)
File "/opt/conda/lib/python3.8/site-packages/fmriprep/workflows/base.py", line 324, in init_single_subject_wf
fmap_estimators = find_estimators(
File "/opt/conda/lib/python3.8/site-packages/sdcflows/utils/wrangler.py", line 324, in find_estimators
fm.FieldmapFile(fmap.path, metadata=fmap.get_metadata())
AttributeError: 'NoneType' object has no attribute 'path'
The command is:
export SINGULARITYENV_TEMPLATEFLOW_HOME=/home/fmriprep/.cache/templateflow
mkdir -p derivatives/
mkdir -p $2/${NAME}_working_directory
singularity run -C -B /EBC:/EBC,$2:/opt/templateflow fmriprep_21.0.0.simg $2/BIDs_data $2/derivatives participant --participant-label ${NAME} -w $2/${NAME}_working_directory --nthreads 16 --omp-nthreads 16 --fs-license-file /EBC/local/infantFS/freesurfer/license.txt --output-space MNI152NLin2009cAsym:res-2 --force-syn --stop-on-first-crash --skip_bids_validation > $PWD/derivatives/log_fMRIprep_sub-${NAME}.txt
Any clue with this?
Another question, if I run the command without sudo it doesnβt work, it says memory error, Iβm also trying to figure out the reason, any advice? Thanks in advance.
Best regards,
Manuel