Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/cwltool/tests/wf/scatter2.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 # Copyright (C) The Arvados Authors. All rights reserved. | |
3 # | |
4 # SPDX-License-Identifier: Apache-2.0 | |
5 | |
6 class: Workflow | |
7 cwlVersion: v1.0 | |
8 $namespaces: | |
9 arv: "http://arvados.org/cwl#" | |
10 inputs: | |
11 sleeptime: | |
12 type: int[] | |
13 default: [5] | |
14 fileblub: | |
15 type: File | |
16 default: | |
17 class: File | |
18 location: keep:99999999999999999999999999999999+118/token.txt | |
19 outputs: | |
20 out: | |
21 type: string[] | |
22 outputSource: scatterstep/out | |
23 requirements: | |
24 SubworkflowFeatureRequirement: {} | |
25 ScatterFeatureRequirement: {} | |
26 InlineJavascriptRequirement: {} | |
27 StepInputExpressionRequirement: {} | |
28 steps: | |
29 scatterstep: | |
30 in: | |
31 sleeptime: sleeptime | |
32 fileblub: fileblub | |
33 out: [out] | |
34 scatter: sleeptime | |
35 hints: | |
36 - class: arv:RunInSingleContainer | |
37 run: | |
38 class: Workflow | |
39 id: mysub | |
40 inputs: | |
41 sleeptime: int | |
42 fileblub: File | |
43 outputs: | |
44 out: | |
45 type: string | |
46 outputSource: sleep1/out | |
47 steps: | |
48 sleep1: | |
49 in: | |
50 sleeptime: sleeptime | |
51 blurb: | |
52 valueFrom: | | |
53 ${ | |
54 return String(inputs.sleeptime) + "b"; | |
55 } | |
56 out: [out] | |
57 run: | |
58 class: CommandLineTool | |
59 id: subtool | |
60 inputs: | |
61 sleeptime: | |
62 type: int | |
63 inputBinding: {position: 1} | |
64 outputs: | |
65 out: | |
66 type: string | |
67 outputBinding: | |
68 outputEval: "out" | |
69 baseCommand: sleep |