Skip to content

trait error in FIRSTOutputSpec when using fsl 5.0.6 #2591

Open
@djarecka

Description

@djarecka

Summary

I'm trying to test a workflow (the simple workflow) with various versions of fsl and when I switched to the older version - 5.0.6 I git this error:

 File "/opt/conda/envs/test/lib/python3.5/site-packages/nipype/pipeline/plugins/multiproc.py", line 68, in run_node
    result['result'] = node.run(updatehash=updatehash)
  File "/opt/conda/envs/test/lib/python3.5/site-packages/nipype/pipeline/engine/nodes.py", line 480, in run
    result = self._run_interface(execute=True)
  File "/opt/conda/envs/test/lib/python3.5/site-packages/nipype/pipeline/engine/nodes.py", line 564, in _run_interface
    return self._run_command(execute)
  File "/opt/conda/envs/test/lib/python3.5/site-packages/nipype/pipeline/engine/nodes.py", line 644, in _run_command
    result = self._interface.run(cwd=outdir)
  File "/opt/conda/envs/test/lib/python3.5/site-packages/nipype/interfaces/base/core.py", line 521, in run
    outputs = self.aggregate_outputs(runtime)
  File "/opt/conda/envs/test/lib/python3.5/site-packages/nipype/interfaces/base/core.py", line 618, in aggregate_outputs
    raise error
  File "/opt/conda/envs/test/lib/python3.5/site-packages/nipype/interfaces/base/core.py", line 611, in aggregate_outputs
    setattr(outputs, key, val)
  File "/opt/conda/envs/test/lib/python3.5/site-packages/nipype/interfaces/base/traits_extension.py", line 112, in validate
    self.info_text, value))
traits.trait_errors.TraitError: The trait 'segmentation_file' of a FIRSTOutputSpec instance is an existing file name, but the path  '/var/spool/cwl/output/metaflow/AnnArbor_sub38614/parcellate_brain/segmented_all_none_firstseg.nii.gz' does not exist.

How to replicate the behavior

Full output (from various envs and for various workflows, so it's pretty long) can be found here

Script/Workflow details

simple workflow

Execution environment

Tested with debian:stretch, and ubuntu:16.04.
Python 3.5.

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