Project

General

Profile

Story #9043 » exampleinputs.yml

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

 
cwlVersion: v1.0
inputs:
ex_boolean:
type: boolean
label: "a short label for this parameter (optional)"
doc: "a longer documentation string for this parameter (optional)"
ex_int: int
ex_long: long
ex_float: float
ex_double: double
ex_string: string
ex_opt_string:
type: string?
doc: >
any parameter can be made optional by providing a union of ["null", "the_type"]
ex_file:
type: File
doc: file selection should present the workbench file picker
ex_dir:
type: Directory
doc: directory selection should present the workbench collection picker
ex_file_array:
type: File[]
doc: >
any parameter can be turned into an array with {"type": "array", "items": "the_type"}
ex_opt_file_array:
type: File[]?
doc: >
any parameter can be turned into an optional array with ["null", {"type": "array", "items": "the_type"}
(1-1/2)