Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pulling out a specific member of an array #184

Open
mr-c opened this issue May 12, 2020 · 0 comments · May be fixed by #327
Open

pulling out a specific member of an array #184

mr-c opened this issue May 12, 2020 · 0 comments · May be fixed by #327

Comments

@mr-c
Copy link
Member

mr-c commented May 12, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant