File: cond-single-source-wf-004.1.cwl

package info (click to toggle)
cwl-utils 0.22-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,788 kB
  • sloc: python: 52,119; makefile: 146; javascript: 85; sh: 6
file content (23 lines) | stat: -rw-r--r-- 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class: Workflow
cwlVersion: v1.2
inputs:
  val: int

steps:

  step1:
    in:
      in1: val
      a_new_var: val
    run: foo-array.cwl
    when: $(inputs.in1 < 1)
    out: [out1]

outputs:
  out1:
    type: string
    outputSource: step1/out1
    pickValue: the_only_non_null

requirements:
  InlineJavascriptRequirement: {}