X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/540adbf18728558df8797bf176ec666061cea934..409d130ddcc4b76def5fa8d61d2584725c61152a:/sdk/cwl/tests/wf/expect_packed.cwl diff --git a/sdk/cwl/tests/wf/expect_packed.cwl b/sdk/cwl/tests/wf/expect_packed.cwl index 84b89afa4c..1622f4841b 100644 --- a/sdk/cwl/tests/wf/expect_packed.cwl +++ b/sdk/cwl/tests/wf/expect_packed.cwl @@ -1,60 +1,36 @@ -{ - "$graph": [ - { - "baseCommand": "cat", - "class": "CommandLineTool", - "id": "#submit_tool.cwl", - "inputs": [ - { - "default": { - "class": "File", - "location": "keep:99999999999999999999999999999991+99/tool/blub.txt" - }, - "id": "#submit_tool.cwl/x", - "inputBinding": { - "position": 1 - }, - "type": "File" - } - ], - "outputs": [], - "requirements": [ - { - "class": "DockerRequirement", - "dockerImageId": "debian:8", - "dockerPull": "debian:8" - } - ] - }, - { - "class": "Workflow", - "id": "#main", - "inputs": [ - { - "default": { - "basename": "blorp.txt", - "class": "File", - "location": "keep:99999999999999999999999999999991+99/input/blorp.txt" - }, - "id": "#main/x", - "type": "File" - } - ], - "outputs": [], - "steps": [ - { - "id": "#main/step1", - "in": [ - { - "id": "#main/step1/x", - "source": "#main/x" - } - ], - "out": [], - "run": "#submit_tool.cwl" - } - ] - } - ], - "cwlVersion": "v1.0" -} \ No newline at end of file +$graph: +- baseCommand: cat + class: CommandLineTool + id: '#submit_tool.cwl' + inputs: + - default: {class: File, location: 'keep:99999999999999999999999999999991+99/tool/blub.txt'} + id: '#submit_tool.cwl/x' + inputBinding: {position: 1} + type: File + outputs: [] + requirements: + - {class: DockerRequirement, dockerPull: 'debian:8'} +- class: Workflow + id: '#main' + inputs: + - default: {basename: blorp.txt, class: File, location: 'keep:99999999999999999999999999999991+99/input/blorp.txt'} + id: '#main/x' + type: File + - default: {basename: 99999999999999999999999999999998+99, class: Directory, location: 'keep:99999999999999999999999999999998+99'} + id: '#main/y' + type: Directory + - default: + basename: anonymous + class: Directory + listing: + - {basename: renamed.txt, class: File, location: 'keep:99999999999999999999999999999998+99/file1.txt'} + id: '#main/z' + type: Directory + outputs: [] + steps: + - id: '#main/step1' + in: + - {id: '#main/step1/x', source: '#main/x'} + out: [] + run: '#submit_tool.cwl' +cwlVersion: v1.0