Skip to content

🐛 KeyError: 'outputspec.output_image' #2294

@shnizzedy

Description

@shnizzedy

Describe the bug

Traceback (most recent call last):
  File "/usr/share/fsl/6.0/lib/python3.10/site-packages/nipype/pipeline/plugins/linear.py", line 47, in run
    node.run(updatehash=updatehash)
  File "/code/CPAC/pipeline/nipype_pipeline_engine/engine.py", line 478, in run
    return super().run(updatehash)
  File "/usr/share/fsl/6.0/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 527, in run
    result = self._run_interface(execute=True)
  File "/usr/share/fsl/6.0/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 645, in _run_interface
    return self._run_command(execute)
  File "/usr/share/fsl/6.0/lib/python3.10/site-packages/nipype/pipeline/engine/nodes.py", line 735, in _run_command
    result.outputs = clean_working_directory(
  File "/usr/share/fsl/6.0/lib/python3.10/site-packages/nipype/pipeline/engine/utils.py", line 1469, in clean_working_directory
    output_files.extend(walk_outputs(outputdict[output]))
KeyError: 'outputspec.output_image'

To reproduce

Run C-PAC with an affected preconfig in ghcr.io/fcp-indi/c-pac@sha256:aa81a11455bc0f7b6a5a37275d719a9c5f9e532cec546f6a908a4f51e2138d27

Preconfig

  • benchmark-FNIRT
  • ccs-options
  • ndmg

Expected behavior

No mysterious connection errors in nipype Rename nodes.

Acceptance criteria

  • No mysterious connection errors in nipype Rename nodes.

C-PAC version

v1.8.8.dev1

Container platform

Singularity, Docker

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions