diff --git a/draft-2/draft-2/binding-test.cwl b/draft-2/draft-2/binding-test.cwl index cd3857861..5037d5432 100755 --- a/draft-2/draft-2/binding-test.cwl +++ b/draft-2/draft-2/binding-test.cwl @@ -22,7 +22,11 @@ inputs: inputBinding: position: -1 -outputs: [] +outputs: + - id: "#args" + type: + type: array + items: string baseCommand: python arguments: ["bwa", "mem"] diff --git a/draft-2/draft-2/cat1-testcli.cwl b/draft-2/draft-2/cat1-testcli.cwl index 410833193..5eb3cbb30 100755 --- a/draft-2/draft-2/cat1-testcli.cwl +++ b/draft-2/draft-2/cat1-testcli.cwl @@ -17,18 +17,24 @@ } }, { - id: "#args.py", - type: File, - default: { - class: File, - path: args.py - }, - inputBinding: { - position: -1 - } + "id": "#args.py", + "type": "File", + "default": { + "class": "File", + "path": "args.py" + }, + "inputBinding": { + "position": -1 + } } ], - "outputs": [], + "outputs": [{ + "id": "#args", + "type": { + "type": "array", + "items": "string" + } + }], "baseCommand": "python", "arguments": ["cat"] } diff --git a/draft-2/draft-2/tmap-tool.cwl b/draft-2/draft-2/tmap-tool.cwl index 3f9ee02c5..364d3d958 100755 --- a/draft-2/draft-2/tmap-tool.cwl +++ b/draft-2/draft-2/tmap-tool.cwl @@ -18,14 +18,14 @@ } }, { - id: "#args.py", - type: File, - default: { - class: File, - path: args.py + "id": "#args.py", + "type": "File", + "default": { + "class": "File", + "path": "args.py" }, - inputBinding: { - position: -1 + "inputBinding": { + "position": -1 } } ], @@ -36,6 +36,13 @@ "glob": "output.sam" }, "type": ["null", "File"] + }, + { + "id": "#args", + "type": { + "type": "array", + "items": "string" + } } ], "requirements": [ diff --git a/draft-3/draft-3/binding-test.cwl b/draft-3/draft-3/binding-test.cwl index 50271f53f..222a6c858 100755 --- a/draft-3/draft-3/binding-test.cwl +++ b/draft-3/draft-3/binding-test.cwl @@ -23,7 +23,11 @@ inputs: inputBinding: position: -1 -outputs: [] +outputs: + - id: args + type: + type: array + items: string baseCommand: python arguments: ["bwa", "mem"] diff --git a/draft-3/draft-3/cat1-testcli.cwl b/draft-3/draft-3/cat1-testcli.cwl index 31f3a94d6..a29cdc4bb 100755 --- a/draft-3/draft-3/cat1-testcli.cwl +++ b/draft-3/draft-3/cat1-testcli.cwl @@ -18,18 +18,24 @@ } }, { - id: "args.py", - type: File, - default: { - class: File, - path: args.py + "id": "args.py", + "type": "File", + "default": { + "class": "File", + "path": "args.py" }, - inputBinding: { - position: -1 + "inputBinding": { + "position": -1 } } ], - "outputs": [], + "outputs": [{ + "id": "args", + "type": { + "type": "array", + "items": "string" + } + }], "baseCommand": "python", "arguments": ["cat"] } diff --git a/draft-3/draft-3/tmap-tool.cwl b/draft-3/draft-3/tmap-tool.cwl index 514816a9f..704cd0b48 100755 --- a/draft-3/draft-3/tmap-tool.cwl +++ b/draft-3/draft-3/tmap-tool.cwl @@ -20,15 +20,15 @@ } }, { - id: "#args.py", - type: File, - default: { - class: File, - path: args.py - }, - inputBinding: { - position: -1 - } + "id": "#args.py", + "type": "File", + "default": { + "class": "File", + "path": "args.py" + }, + "inputBinding": { + "position": -1 + } } ], "outputs": [ @@ -38,6 +38,13 @@ "glob": "output.sam" }, "type": ["null", "File"] + }, + { + "id": "args", + "type": { + "type": "array", + "items": "string" + } } ], "requirements": [ diff --git a/v1.0/conformance_test_v1.0.yaml b/v1.0/conformance_test_v1.0.yaml index 8d5a61b9b..46164b38f 100644 --- a/v1.0/conformance_test_v1.0.yaml +++ b/v1.0/conformance_test_v1.0.yaml @@ -77,7 +77,7 @@ tool: v1.0/cat3-tool-mediumcut.cwl doc: Test command execution in Docker with stdout redirection -- job: +- job: v1.0/empty.json tool: v1.0/egrep-stderr.cwl doc: Test command line with stderr redirection output: @@ -87,7 +87,7 @@ size: 84 location: error.txt -- job: +- job: v1.0/empty.json tool: v1.0/egrep-stderr-shortcut.cwl doc: Test command line with stderr redirection, brief syntax output: @@ -103,7 +103,7 @@ size: 84 checksum: sha1$cec7b8746a78c42060c96505887449bca0142976 location: std.err - job: + job: v1.0/empty.json tool: v1.0/egrep-stderr-mediumcut.cwl doc: Test command line with stderr redirection, named brief syntax diff --git a/v1.0/v1.0/binding-test.cwl b/v1.0/v1.0/binding-test.cwl index 8415dc414..99f812fb1 100755 --- a/v1.0/v1.0/binding-test.cwl +++ b/v1.0/v1.0/binding-test.cwl @@ -23,7 +23,8 @@ inputs: inputBinding: position: -1 -outputs: [] +outputs: + args: string[] baseCommand: python arguments: ["bwa", "mem"] diff --git a/v1.0/v1.0/cat1-testcli.cwl b/v1.0/v1.0/cat1-testcli.cwl index 06782c2b9..9558ed82c 100755 --- a/v1.0/v1.0/cat1-testcli.cwl +++ b/v1.0/v1.0/cat1-testcli.cwl @@ -29,7 +29,7 @@ } } ], - "outputs": [], + "outputs": [{"id": "args", "type": "string[]"}], "baseCommand": "python", "arguments": ["cat"] } diff --git a/v1.0/v1.0/tmap-tool.cwl b/v1.0/v1.0/tmap-tool.cwl index 1cb08428b..505d60036 100755 --- a/v1.0/v1.0/tmap-tool.cwl +++ b/v1.0/v1.0/tmap-tool.cwl @@ -38,7 +38,8 @@ "glob": "output.sam" }, "type": ["null", "File"] - } + }, + {"id": "args", "type": "string[]"} ], "requirements": [ {"class": "SchemaDefRequirement",