Mercurial > repos > shellac > sam_consensus_v3
view 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 |
line wrap: on
line source
#!/usr/bin/env cwl-runner # Copyright (C) The Arvados Authors. All rights reserved. # # SPDX-License-Identifier: Apache-2.0 class: Workflow cwlVersion: v1.0 $namespaces: arv: "http://arvados.org/cwl#" inputs: sleeptime: type: int[] default: [5] fileblub: type: File default: class: File location: keep:99999999999999999999999999999999+118/token.txt outputs: out: type: string[] outputSource: scatterstep/out requirements: SubworkflowFeatureRequirement: {} ScatterFeatureRequirement: {} InlineJavascriptRequirement: {} StepInputExpressionRequirement: {} steps: scatterstep: in: sleeptime: sleeptime fileblub: fileblub out: [out] scatter: sleeptime hints: - class: arv:RunInSingleContainer run: class: Workflow id: mysub inputs: sleeptime: int fileblub: File outputs: out: type: string outputSource: sleep1/out steps: sleep1: in: sleeptime: sleeptime blurb: valueFrom: | ${ return String(inputs.sleeptime) + "b"; } out: [out] run: class: CommandLineTool id: subtool inputs: sleeptime: type: int inputBinding: {position: 1} outputs: out: type: string outputBinding: outputEval: "out" baseCommand: sleep