Mercurial > repos > shellac > sam_consensus_v3
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/env/lib/python3.9/site-packages/cwltool/tests/wf/scatter2.cwl Mon Mar 22 18:12:50 2021 +0000 @@ -0,0 +1,69 @@ +#!/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