comparison env/lib/python3.7/site-packages/cwltool/tests/wf/parseInt-tool.cwl @ 0:26e78fe6e8c4 draft

"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author shellac
date Sat, 02 May 2020 07:14:21 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:26e78fe6e8c4
1 #!/usr/bin/env cwl-runner
2
3 class: ExpressionTool
4 requirements:
5 - class: InlineJavascriptRequirement
6 cwlVersion: v1.0
7
8 inputs:
9 file1:
10 type: File
11 inputBinding: { loadContents: true }
12
13 outputs:
14 output: int
15
16 expression: "$({'output': parseInt(inputs.file1.contents)})"