I am running fmriprep on a sample of 80 subjects (singularity container), but I have an issue with two of them: preprocessing seems to work fine for anatomical data but it stop before the bold processing. On the html report, there are the anatomical preprocessed images (segmentation and normalisation) but no bold images.
The error is about the _validate node which “failed to run on host” and it seems to be related to qform…
I checked my data for bids validity and the anatomical and functional images of these subjects look fine. I am using the last version of fmriprep (20.0.0). The qform_code of the bold.nii is 1 (the same as for the others subjects).
My command line is:
fmriprep /netapp/vol7_u923/COSIMAGE/cosimage_ml/repos/fmriprep/dataset /netapp/vol7_u923/COSIMAGE/cosimage_ml/repos/fmriprep/derivative participant --fs-license-file /netapp/vol7_u923/COSIMAGE/cosimage_ml/repos/fmriprep/ --use-aroma --fs-no-reconall --participant_label sub-07
Here is the copy of the crash file:
Node: fmriprep_wf.single_subject_07_wf.func_preproc_task_rest_wf.bold_reference_wf.validate
Working directory: /netapp/vol7_u923/COSIMAGE/cosimage_ml/repos/fmriprep/work/fmriprep_wf/single_subject_07_wf/func_preproc_task_rest_wf/bold_reference_wf/validate
Traceback (most recent call last):
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py”, line 69, in run_node
result[‘result’] = node.run(updatehash=updatehash)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 479, in run
result = self._run_interface(execute=True)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 585, in _run_interface
return self._run_command(execute)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 678, in _run_command
result = self._interface.run(cwd=outdir)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py”, line 382, in run
runtime = self._run_interface(runtime)
File “/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/images.py”, line 423, in _run_interface
if np.allclose(new_qform, qform) and qform_code > 0:
UnboundLocalError: local variable ‘qform’ referenced before assignment