common-workflow-language / common-workflow-language/user_guide

pulling out a specific member of an array

Open
#184 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Common Workflow Language
Stars
42
Forks
65
PR merge metrics
No merged PRs in 30d

Description

``` cwl
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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.