From 68dae318c6c74fee78af0e68d1e5c7f62425c89a Mon Sep 17 00:00:00 2001
From: Tammo Jan Dijkema <dijkema@astron.nl>
Date: Wed, 25 Sep 2019 11:30:04 +0200
Subject: [PATCH] Make step parse

---
 steps/GenericParsetGeneratorStep.cwl | 29 ++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/steps/GenericParsetGeneratorStep.cwl b/steps/GenericParsetGeneratorStep.cwl
index c902a5e1..fc7ce6da 100644
--- a/steps/GenericParsetGeneratorStep.cwl
+++ b/steps/GenericParsetGeneratorStep.cwl
@@ -1,21 +1,22 @@
-cwlVersion: 1.1
 class: CommandLineTool
-baseCommand: [python, '-c']
+cwlVersion: v1.0
+id: GenericParsetGeneratorStep
+baseCommand: [python, -c, 'import sys; print(sys.argv)']
 
 inputs:
-    step_name:
-        type: string
-        doc: "name of the DPPP step"
+  - id: step_name
+    type: string
+    doc: "name of the DPPP step"
 
-    step_type:
-        type: string
-        doc: "type of the DPPP step"
+  - id: step_type
+    type: string
+    doc: "type of the DPPP step"
 
-    step_arguments:
-        type: array<string>
-        doc: "List of key=value parameters to pass"
+  - id: step_arguments
+    type: array<string>
+    doc: "List of key=value parameters to pass"
 
 outputs:
-    output_file:
-        type: File
-        doc: "Parset output file"
+  - id: output_file
+    type: File
+    doc: "Parset output file"
-- 
GitLab