comparison env/lib/python3.9/site-packages/cwltool/tests/wf/generator/pytoolgen.cwl @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 #!/usr/bin/env cwl-runner
2 cwlVersion: v1.0
3 $namespaces:
4 cwltool: "http://commonwl.org/cwltool#"
5 class: ProcessGenerator
6 inputs:
7 script: string
8 dir: Directory
9 outputs: {}
10 run:
11 class: CommandLineTool
12 inputs:
13 script: string
14 dir: Directory
15 outputs:
16 runProcess:
17 type: File
18 outputBinding:
19 glob: main.cwl
20 requirements:
21 InlineJavascriptRequirement: {}
22 cwltool:LoadListingRequirement:
23 loadListing: shallow_listing
24 InitialWorkDirRequirement:
25 listing: |
26 ${
27 var v = inputs.dir.listing;
28 v.push({entryname: "inp.py", entry: inputs.script});
29 return v;
30 }
31 arguments: [python, inp.py]
32 stdout: main.cwl