File: formatted-commented.cwl

package info (click to toggle)
cwlformat 2022.02.18-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,016 kB
  • sloc: python: 199; makefile: 3
file content (30 lines) | stat: -rw-r--r-- 512 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env cwl-runner


# Top comment is preserved

cwlVersion: v1.0
class: CommandLineTool

requirements:
  InlineJavascriptRequirement: {}

inputs:
  in1:
    type: string
    inputBinding:
      position: 1
      valueFrom: A_$(inputs.in1)_B_${return inputs.in1}_C_$(inputs.in1)

outputs:
  out1:
    type: string
    outputBinding:
      glob: out.txt
      outputEval: $(self[0].contents)_D_$(runtime.cores)
      loadContents: true
stdout: out.txt

baseCommand: echo
arguments:
- valueFrom: $(runtime)