Skip to content

Commit

Permalink
draft-3 test fixes: explicit output for args
Browse files Browse the repository at this point in the history
  • Loading branch information
Luka Stojanovic committed Nov 2, 2016
1 parent 8b10319 commit f87d218
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 18 deletions.
6 changes: 5 additions & 1 deletion draft-3/draft-3/binding-test.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ inputs:
inputBinding:
position: -1

outputs: []
outputs:
- id: args
type:
type: array
items: string

baseCommand: python
arguments: ["bwa", "mem"]
22 changes: 14 additions & 8 deletions draft-3/draft-3/cat1-testcli.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
25 changes: 16 additions & 9 deletions draft-3/draft-3/tmap-tool.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -38,6 +38,13 @@
"glob": "output.sam"
},
"type": ["null", "File"]
},
{
"id": "args",
"type": {
"type": "array",
"items": "string"
}
}
],
"requirements": [
Expand Down

0 comments on commit f87d218

Please sign in to comment.