Skip to content

Bunch has no attribute insert (from neurostars) #1690

Closed
@oesteban

Description

@oesteban

Just seen this in neurostars:

161023-16:13:46,511 workflow INFO:
         Running: antsApplyTransforms --default-value 0 --input /home/contematto/exp/fmri_pipelines/workdir/bids_preprocess/featpreproc/_subject_id_sub-sid000003_task_id_1back/addmean/mapflow/_addmean0/sub-sid000003_task-1back_run-01_bold_dtype_mcf_mask_smooth_mask_gms_tempfilt_maths.nii.gz --input-image-type 3 --interpolation Linear --output sub-sid000003_task-1back_run-01_bold_dtype_mcf_mask_smooth_mask_gms_tempfilt_maths_trans.nii.gz --reference-image /usr/share/fsl/5.0/data/standard/MNI152_T1_2mm.nii.gz --transform [ /home/contematto/exp/fmri_pipelines/workdir/bids_preprocess/registration/_subject_id_sub-sid000003_task_id_1back/antsRegister/output_Composite.h5, 0 ] --transform [ /home/contematto/exp/fmri_pipelines/workdir/bids_preprocess/registration/_subject_id_sub-sid000003_task_id_1back/convert2itk/affine.txt, 0 ]
161023-16:13:46,512 interface DEBUG:
         default_value_0.0
161023-16:13:46,512 interface DEBUG:
         input_image_/home/contematto/exp/fmri_pipelines/workdir/bids_preprocess/featpreproc/_subject_id_sub-sid000003_task_id_1back/addmean/mapflow/_addmean0/sub-sid000003_task-1back_run-01_bold_dtype_mcf_mask_smooth_mask_gms_tempfilt_maths.nii.gz
161023-16:13:46,512 interface DEBUG:
         input_image_type_3
161023-16:13:46,512 interface DEBUG:
         reference_image_/usr/share/fsl/5.0/data/standard/MNI152_T1_2mm.nii.gz
161023-16:13:46,513 interface DEBUG:
         {'DISPLAY': ':1'}
161023-16:15:40,447 interface DEBUG:
         Not a string literal
161023-16:15:40,511 interface DEBUG:
         Not a string literal
Traceback (most recent call last):
  File "preprocess.py", line 1129, in <module>
    wf.run(args.plugin)
  File "/home/contematto/exp/fmri_pipelines/venv2/local/lib/python2.7/site-packages/nipype/pipeline/engine/workflows.py", line 597, in run
    runner.run(execgraph, updatehash=updatehash, config=self.config)
  File "/home/contematto/exp/fmri_pipelines/venv2/local/lib/python2.7/site-packages/nipype/pipeline/plugins/linear.py", line 39, in run
    node.run(updatehash=updatehash)
  File "/home/contematto/exp/fmri_pipelines/venv2/local/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 394, in run
    self._run_interface()
  File "/home/contematto/exp/fmri_pipelines/venv2/local/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 1306, in _run_interface
    updatehash=updatehash))
  File "/home/contematto/exp/fmri_pipelines/venv2/local/lib/python2.7/site-packages/nipype/pipeline/engine/nodes.py", line 1170, in _collate_results
    self._result.runtime.insert(i, None)
AttributeError: 'Bunch' object has no attribute 'insert'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions