Hi all, we are trying to process some data with fmriprep 1.0.15, however running into errors with one subject in particular. All other subjects have run properly with no errors. The header info for this subject looks fine and we can view the images in fsleyes properly. Below is the error message, anyone have insights on what is going on?
Here’s the fmriprep command we used:
singularity run -B /scratch:/scratch $sing_img $dataDIR $dataDIR/output participant --participant-label $participant --template-resampling-grid /scratch/ERIC/MNI152_T1_2mm_brain.nii.gz --low-mem
And here is the error:
Running fMRIPREP version 1.0.15:
* BIDS dataset path: /scratch/ERIC/micapp/BIDS_process.
* Participant list: ['mic07002'].
* Run identifier: 20181003-091255_f9178b74-50e2-4dc0-a4c5-16f9b231d27b.
181003-09:12:59,811 workflow IMPORTANT:
Creating bold processing workflow for "/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-cuff_bold.nii" (0.41 GB / 451 TRs). Memory resampled/largemem=1.63/3.47 GB.
181003-09:13:00,120 workflow WARNING:
SDC: no fieldmaps found or they were ignored (/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-cuff_bold.nii).
181003-09:13:00,587 workflow IMPORTANT:
Creating BOLD surface-sampling workflow.
181003-09:13:01,990 workflow IMPORTANT:
Creating bold processing workflow for "/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-restpost_bold.nii" (0.41 GB / 451 TRs). Memory resampled/largemem=1.63/3.47 GB.
181003-09:13:02,295 workflow WARNING:
SDC: no fieldmaps found or they were ignored (/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-restpost_bold.nii).
181003-09:13:02,760 workflow IMPORTANT:
Creating BOLD surface-sampling workflow.
181003-09:13:04,62 workflow IMPORTANT:
Creating bold processing workflow for "/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-restpre_bold.nii" (0.41 GB / 451 TRs). Memory resampled/largemem=1.63/3.47 GB.
181003-09:13:04,465 workflow WARNING:
SDC: no fieldmaps found or they were ignored (/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-restpre_bold.nii).
181003-09:13:04,930 workflow IMPORTANT:
Creating BOLD surface-sampling workflow.
181003-09:13:06,239 workflow IMPORTANT:
Creating bold processing workflow for "/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-thumb_bold.nii" (0.43 GB / 478 TRs). Memory resampled/largemem=1.73/3.80 GB.
181003-09:13:06,544 workflow WARNING:
SDC: no fieldmaps found or they were ignored (/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-thumb_bold.nii).
181003-09:13:07,9 workflow IMPORTANT:
Creating BOLD surface-sampling workflow.
181003-09:13:08,431 workflow IMPORTANT:
Creating bold processing workflow for "/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-visual_bold.nii" (0.23 GB / 251 TRs). Memory resampled/largemem=0.91/1.48 GB.
181003-09:13:08,732 workflow WARNING:
SDC: no fieldmaps found or they were ignored (/scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-visual_bold.nii).
181003-09:13:09,198 workflow IMPORTANT:
Creating BOLD surface-sampling workflow.
181003-09:13:32,377 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_visual_wf.bold_reference_wf.validate" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_visual_wf/bold_reference_wf/validate".
181003-09:13:32,377 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_cuff_wf.bold_reference_wf.validate" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_cuff_wf/bold_reference_wf/validate".
181003-09:13:32,377 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_restpre_wf.bold_reference_wf.validate" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_restpre_wf/bold_reference_wf/validate".
181003-09:13:32,378 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_thumb_wf.bold_reference_wf.validate" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_thumb_wf/bold_reference_wf/validate".
181003-09:13:32,380 workflow INFO:
[Node] Running "validate" ("fmriprep.interfaces.images.ValidateImage")
181003-09:13:32,380 workflow INFO:
[Node] Running "validate" ("fmriprep.interfaces.images.ValidateImage")
181003-09:13:32,380 workflow INFO:
[Node] Running "validate" ("fmriprep.interfaces.images.ValidateImage")
181003-09:13:32,380 workflow INFO:
[Node] Running "validate" ("fmriprep.interfaces.images.ValidateImage")
181003-09:13:32,386 workflow INFO:
[Node] Finished "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_cuff_wf.bold_reference_wf.validate".
181003-09:13:32,386 workflow INFO:
[Node] Finished "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_restpre_wf.bold_reference_wf.validate".
181003-09:13:32,386 workflow INFO:
[Node] Finished "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_visual_wf.bold_reference_wf.validate".
181003-09:13:32,387 workflow INFO:
[Node] Finished "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_thumb_wf.bold_reference_wf.validate".
181003-09:13:32,396 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_restpost_wf.bold_reference_wf.validate" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_restpost_wf/bold_reference_wf/validate".
181003-09:13:32,399 workflow INFO:
[Node] Running "validate" ("fmriprep.interfaces.images.ValidateImage")
181003-09:13:32,406 workflow INFO:
[Node] Finished "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_restpost_wf.bold_reference_wf.validate".
181003-09:13:32,526 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.bidssrc" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/bidssrc".
181003-09:13:32,529 workflow INFO:
[Node] Running "bidssrc" ("fmriprep.interfaces.bids.BIDSDataGrabber")
181003-09:13:32,530 interface WARNING:
No 't2w' images found for sub-<undefined>
181003-09:13:32,531 interface WARNING:
No 'flair' images found for sub-<undefined>
181003-09:13:32,531 interface WARNING:
No 'fmap' images found for sub-<undefined>
181003-09:13:32,531 interface WARNING:
No 'sbref' images found for sub-<undefined>
181003-09:13:32,531 interface WARNING:
No 'roi' images found for sub-<undefined>
181003-09:13:32,535 workflow INFO:
[Node] Finished "fmriprep_wf.single_subject_mic07002_wf.bidssrc".
181003-09:13:33,565 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_cuff_wf.bold_split" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_cuff_wf/bold_split".
181003-09:13:33,568 workflow INFO:
[Node] Running "bold_split" ("niworkflows.nipype.interfaces.fsl.utils.Split"), a CommandLine Interface with command:
fslsplit /scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-cuff_bold.nii -t
181003-09:13:33,722 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_restpost_wf.bold_split" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_restpost_wf/bold_split".
181003-09:13:33,725 workflow INFO:
[Node] Running "bold_split" ("niworkflows.nipype.interfaces.fsl.utils.Split"), a CommandLine Interface with command:
fslsplit /scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-restpost_bold.nii -t
181003-09:13:33,883 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_restpre_wf.bold_split" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_restpre_wf/bold_split".
181003-09:13:33,886 workflow INFO:
[Node] Running "bold_split" ("niworkflows.nipype.interfaces.fsl.utils.Split"), a CommandLine Interface with command:
fslsplit /scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-restpre_bold.nii -t
181003-09:13:34,16 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_thumb_wf.bold_split" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_thumb_wf/bold_split".
181003-09:13:34,18 workflow INFO:
[Node] Running "bold_split" ("niworkflows.nipype.interfaces.fsl.utils.Split"), a CommandLine Interface with command:
fslsplit /scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-thumb_bold.nii -t
181003-09:13:34,191 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_visual_wf.bold_split" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_visual_wf/bold_split".
181003-09:13:34,193 workflow INFO:
[Node] Running "bold_split" ("niworkflows.nipype.interfaces.fsl.utils.Split"), a CommandLine Interface with command:
fslsplit /scratch/ERIC/micapp/BIDS_process/sub-mic07002/func/sub-mic07002_task-visual_bold.nii -t
181003-09:13:34,230 workflow WARNING:
Error while checking node hash, forcing re-run. Although this error may not prevent the workflow from running, it could indicate a major problem. Please report a new issue at https://github.com/nipy/nipype/issues adding the following information:
Node: fmriprep_wf.single_subject_mic07002_wf.ds_report_about
Interface: fmriprep.interfaces.bids.DerivativesDataSink
Traceback:
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/base.py", line 341, in _local_hash_check
cached, updated = self.procs[jobid].is_cached()
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 303, in is_cached
hashed_inputs, hashvalue = self._get_hashval()
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 497, in _get_hashval
self._get_inputs()
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 531, in _get_inputs
info[1][1], info[1][2], value)
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/utils.py", line 673, in evaluate_connect_function
output_value = func(first_arg, *list(args))
File "<string>", line 14, in fix_multi_T1w_source_name
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/multiproc.py", line 339, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 417, in run
cached, updated = self.is_cached()
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 303, in is_cached
hashed_inputs, hashvalue = self._get_hashval()
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 497, in _get_hashval
self._get_inputs()
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 531, in _get_inputs
info[1][1], info[1][2], value)
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/utils.py", line 673, in evaluate_connect_function
output_value = func(first_arg, *list(args))
File "<string>", line 14, in fix_multi_T1w_source_name
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/miniconda/bin/fmriprep", line 11, in <module>
load_entry_point('fmriprep==1.0.15', 'console_scripts', 'fmriprep')()
File "/usr/local/miniconda/lib/python3.6/site-packages/fmriprep/cli/run.py", line 314, in main
fmriprep_wf.run(**plugin_settings)
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/workflows.py", line 595, in run
runner.run(execgraph, updatehash=updatehash, config=self.config)
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/base.py", line 190, in run
self._send_procs_to_workers(updatehash=updatehash, graph=graph)
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/multiproc.py", line 347, in _send_procs_to_workers
'traceback': traceback
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/base.py", line 227, in _clean_queue
raise RuntimeError("".join(result['traceback']))
RuntimeError: Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/multiproc.py", line 339, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 417, in run
cached, updated = self.is_cached()
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 303, in is_cached
hashed_inputs, hashvalue = self._get_hashval()
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 497, in _get_hashval
self._get_inputs()
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 531, in _get_inputs
info[1][1], info[1][2], value)
File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/utils.py", line 673, in evaluate_connect_function
output_value = func(first_arg, *list(args))
File "<string>", line 14, in fix_multi_T1w_source_name
IndexError: list index out of range
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit
181003-09:13:34,512 workflow INFO:
[Node] Setting-up "fmriprep_wf.single_subject_mic07002_wf.func_preproc_task_cuff_wf.bold_reference_wf.gen_ref" in "/scratch/ERIC/micapp/BIDS_process/work/fmriprep_wf/single_subject_mic07002_wf/func_preproc_task_cuff_wf/bold_reference_wf/gen_ref".
181003-09:13:34,518 workflow INFO:
[Node] Running "gen_ref" ("niworkflows.interfaces.registration.EstimateReferenceImage")