Skip to content

pulling out a specific member of an array #184

Description

@mr-c
cwlVersion: v1.0
class: Workflow

inputs: []

steps: 
  generates_an_array:
     run: array_of_files.cwl
     in: {}
     out: [ an_array_of_files ]
  single_file_processor:
    run: only_one_file_input_tool.cwl
    in:
      raw_file:  # this is type: File
        source: generates_an_array/an_array_of_files
        valueFrom: $(self[0])
    out: [ result ]

outputs:
  result:
    type: File
    outputSource: single_file_processor/result

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions