File: tool2.cwl

package info (click to toggle)
cwl-utils 0.37-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,156 kB
  • sloc: python: 88,920; makefile: 141; javascript: 91
file content (27 lines) | stat: -rwxr-xr-x 597 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/env cwl-runner
# We have this tool to test both local and remote packing

class: CommandLineTool
cwlVersion: v1.2
inputs:
  in1:
    type: ../types/testtypes.yml#my_boolean_array
    inputBinding:
      position: 1
      valueFrom: A_$(inputs.in1)_B_${return inputs.in1}_C_$(inputs.in1)
baseCommand: echo
arguments:
  - valueFrom: $(runtime)
outputs:
  out1:
    type: string
    outputBinding:
      glob: out.txt
      loadContents: true
      outputEval: $(self)_D_$(runtime)

stdout: out.txt
requirements:
  SchemaDefRequirement:
    types: 
      - $import: ../types/testtypes.yml