Project

General

Profile

Idea #9043 » exampleinputs.yml

Peter Amstutz, 07/13/2016 07:16 PM

 
1
cwlVersion: v1.0
2
inputs:
3
  ex_boolean:
4
    type: boolean
5
    label: "a short label for this parameter (optional)"
6
    doc: "a longer documentation string for this parameter (optional)"
7
  ex_int: int
8
  ex_long: long
9
  ex_float: float
10
  ex_double: double
11
  ex_string: string
12
  ex_opt_string:
13
    type: string?
14
    doc: >
15
      any parameter can be made optional by providing a union of ["null", "the_type"]
16
  ex_file:
17
    type: File
18
    doc: file selection should present the workbench file picker
19
  ex_dir:
20
    type: Directory
21
    doc: directory selection should present the workbench collection picker
22
  ex_file_array:
23
    type: File[]
24
    doc: >
25
      any parameter can be turned into an array with {"type": "array", "items": "the_type"}
26
  ex_opt_file_array:
27
    type: File[]?
28
    doc: >
29
      any parameter can be turned into an optional array with ["null", {"type": "array", "items": "the_type"}
(1-1/2)