8784: Fix test for latest firefox.
[arvados.git] / sdk / cwl / tests / wf / scatter2_subwf.cwl
1 {
2   "$graph": [
3     {
4       "class": "Workflow",
5       "hints": [],
6       "id": "#main",
7       "inputs": [
8         {
9           "id": "#main/sleeptime",
10           "type": "int"
11         }
12       ],
13       "outputs": [
14         {
15           "id": "#main/out",
16           "outputSource": "#main/sleep1/out",
17           "type": "string"
18         }
19       ],
20       "requirements": [
21         {
22           "class": "InlineJavascriptRequirement"
23         },
24         {
25           "class": "ScatterFeatureRequirement"
26         },
27         {
28           "class": "StepInputExpressionRequirement"
29         },
30         {
31           "class": "SubworkflowFeatureRequirement"
32         }
33       ],
34       "steps": [
35         {
36           "id": "#main/sleep1",
37           "in": [
38             {
39               "id": "#main/sleep1/blurb",
40               "valueFrom": "${\n  return String(inputs.sleeptime) + \"b\";\n}\n"
41             },
42             {
43               "id": "#main/sleep1/sleeptime",
44               "source": "#main/sleeptime"
45             }
46           ],
47           "out": [
48             "#main/sleep1/out"
49           ],
50           "run": {
51             "baseCommand": "sleep",
52             "class": "CommandLineTool",
53             "id": "#main/sleep1/subtool",
54             "inputs": [
55               {
56                 "id": "#main/sleep1/subtool/sleeptime",
57                 "inputBinding": {
58                   "position": 1
59                 },
60                 "type": "int"
61               }
62             ],
63             "outputs": [
64               {
65                 "id": "#main/sleep1/subtool/out",
66                 "outputBinding": {
67                   "outputEval": "out"
68                 },
69                 "type": "string"
70               }
71             ]
72           }
73         }
74       ]
75     }
76   ],
77   "cwlVersion": "v1.0"
78 }