From 1582677e292603008427912a5792cf28387d5bfb Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Thu, 8 Sep 2016 15:14:02 -0400 Subject: [PATCH] Tighten up formatting --- v1.0/v1.0/count-lines10-wf.cwl | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/v1.0/v1.0/count-lines10-wf.cwl b/v1.0/v1.0/count-lines10-wf.cwl index 501d703e2..63d9f0ff1 100755 --- a/v1.0/v1.0/count-lines10-wf.cwl +++ b/v1.0/v1.0/count-lines10-wf.cwl @@ -1,37 +1,22 @@ #!/usr/bin/env cwl-runner class: Workflow cwlVersion: v1.0 - inputs: - file1: File - + file1: File outputs: - count_output: - type: int - outputSource: step1/count_output - + count_output: {type: int, outputSource: step1/count_output} requirements: - - class: SubworkflowFeatureRequirement - + SubworkflowFeatureRequirement: {} steps: step1: - in: - file1: file1 + in: {file1: file1} out: [count_output] run: class: Workflow inputs: file1: File outputs: - count_output: - type: int - outputSource: step2/output + count_output: {type: int, outputSource: step2/output} steps: - step1: - run: wc-tool.cwl - in: {file1: file1} - out: [output] - step2: - run: parseInt-tool.cwl - in: {file1: step1/output} - out: [output] + step1: {run: wc-tool.cwl, in: {file1: file1}, out: [output]} + step2: {run: parseInt-tool.cwl, in: {file1: step1/output}, out: [output]}