From d1c4b85c63144c0b87aa3513be788badad508714 Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Wed, 25 Sep 2019 13:22:53 +0200
Subject: [PATCH] setting up valid GenericParsetGenerator step

---
 steps/GenericParsetGeneratorStep.cwl | 33 ++++++++++++++++++----------
 1 file changed, 21 insertions(+), 12 deletions(-)

diff --git a/steps/GenericParsetGeneratorStep.cwl b/steps/GenericParsetGeneratorStep.cwl
index fc7ce6da..33f0be7d 100644
--- a/steps/GenericParsetGeneratorStep.cwl
+++ b/steps/GenericParsetGeneratorStep.cwl
@@ -1,22 +1,31 @@
 class: CommandLineTool
 cwlVersion: v1.0
-id: GenericParsetGeneratorStep
-baseCommand: [python, -c, 'import sys; print(sys.argv)']
-
+$namespaces:
+  sbg: 'https://www.sevenbridges.com/'
+id: _generic_parset_generator_step
+baseCommand:
+  - python
+  - -c
+  - "import sys; print(sys.argv[1:])"
 inputs:
   - id: step_name
     type: string
-    doc: "name of the DPPP step"
-
+    inputBinding:
+      position: 1
+    doc: name of the DPPP step
   - id: step_type
     type: string
-    doc: "type of the DPPP step"
-
+    inputBinding:
+      position: 2
+    doc: type of the DPPP step
   - id: step_arguments
-    type: array<string>
-    doc: "List of key=value parameters to pass"
+    type: 'string[]'
+    inputBinding:
+      position: 3
+    doc: List of key=value parameters to pass
 
 outputs:
-  - id: output_file
-    type: File
-    doc: "Parset output file"
+    output_file:
+        doc: Parset output file
+        type: stdout
+
-- 
GitLab