From 24870ffd0f82a0f0798f6ef0ebf96e6d39f69013 Mon Sep 17 00:00:00 2001
From: Matthijs van der Wild <matthijs.van-der-wild@durham.ac.uk>
Date: Fri, 8 Sep 2023 14:12:47 +0000
Subject: [PATCH] Parset files are now collected from stdout.

---
 steps/dp3_make_parset_cal.cwl    | 21 ++++++++-------------
 steps/dp3_make_parset_target.cwl | 21 ++++++++-------------
 2 files changed, 16 insertions(+), 26 deletions(-)

diff --git a/steps/dp3_make_parset_cal.cwl b/steps/dp3_make_parset_cal.cwl
index 4b5ad37c..3dc3c831 100755
--- a/steps/dp3_make_parset_cal.cwl
+++ b/steps/dp3_make_parset_cal.cwl
@@ -56,22 +56,17 @@ inputs:
   - id: lbfgs_robustdof
     type: float?
     default: 200
+
 outputs:
   - id: output
-    type: File
-    outputBinding:
-      glob: DP3.parset
+    type: stdout
+
 baseCommand:
-  - cp
-arguments:
-  - prefix: ''
-    shellQuote: false
-    position: 0
-    valueFrom: input.parset
-  - prefix: ''
-    shellQuote: false
-    position: 0
-    valueFrom: DP3.parset
+  - cat
+  - input.parset
+
+stdout: DP3.parset
+
 requirements:
   - class: InlineJavascriptRequirement
   - class: ShellCommandRequirement
diff --git a/steps/dp3_make_parset_target.cwl b/steps/dp3_make_parset_target.cwl
index 6804568e..c9ebf229 100755
--- a/steps/dp3_make_parset_target.cwl
+++ b/steps/dp3_make_parset_target.cwl
@@ -76,22 +76,17 @@ inputs:
   - id: lbfgs_robustdof
     type: float?
     default: 200
+
 outputs:
   - id: output
-    type: File
-    outputBinding:
-      glob: DP3.parset
+    type: stdout
+
 baseCommand:
-  - cp
-arguments:
-  - prefix: ''
-    shellQuote: false
-    position: 0
-    valueFrom: input.parset
-  - prefix: ''
-    shellQuote: false
-    position: 0
-    valueFrom: DP3.parset
+  - cat
+  - input.parset
+
+stdout: DP3.parset
+
 requirements:
   - class: InlineJavascriptRequirement
   - class: ShellCommandRequirement
-- 
GitLab