From c5ab49c3af528e46503ab714e2052285f091afc5 Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Thu, 5 Mar 2020 08:45:23 +0100
Subject: [PATCH] Add storagemanager parameter

---
 steps/DPPP.cwl     | 6 ++++++
 steps/applycal.cwl | 7 ++++++-
 steps/ddecal.cwl   | 6 +++++-
 steps/gaincal.cwl  | 5 +++++
 steps/predict.cwl  | 5 +++++
 5 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/steps/DPPP.cwl b/steps/DPPP.cwl
index 288049a..dfd2cdc 100755
--- a/steps/DPPP.cwl
+++ b/steps/DPPP.cwl
@@ -43,6 +43,12 @@ inputs:
     inputBinding:
       position: 0
       prefix: '-msin.autoweight=True'
+  - default: "dysco"
+    id: storagemanager
+    type: string
+    inputBinding:
+      position: 0
+      prefix: '-msout.storagemanager='
   - default: ''
     id: baseline
     type: string
diff --git a/steps/applycal.cwl b/steps/applycal.cwl
index 748029f..5a62a21 100644
--- a/steps/applycal.cwl
+++ b/steps/applycal.cwl
@@ -48,11 +48,16 @@ inputs:
       Type of correction to perform. When using H5Parm, this is for now the name
       of the soltab; the type will be deduced from the metadata in that soltab,
       except for full Jones, in which case correction should be 'fulljones'.
+  - id: storagemanager
+    type: string
+    default: dysco
+    inputBinding
+      prefix: msout.storagemanager=
   - id: updateweights
     type: boolean?
     inputBinding:
       position: 0
-      prefix: applycal.updateweights=True
+      prefix: -applycal.updateweights=True
 outputs:
   - id: msout
     doc: Output Measurement Set
diff --git a/steps/ddecal.cwl b/steps/ddecal.cwl
index cc54a6c..3eddf9e 100644
--- a/steps/ddecal.cwl
+++ b/steps/ddecal.cwl
@@ -90,7 +90,11 @@ inputs:
       and mode=rotation+diagonal.
     inputBinding:
       prefix: flagdivergedonly=True
-
+  - id: storagemanager
+    type: string
+    default: dysco
+    inputBinding
+      prefix: msout.storagemanager=
   - id: mode
     type:
       type: enum
diff --git a/steps/gaincal.cwl b/steps/gaincal.cwl
index e017373..d57b712 100644
--- a/steps/gaincal.cwl
+++ b/steps/gaincal.cwl
@@ -51,6 +51,11 @@ inputs:
     inputBinding:
         prefix: gaincal.usebeammodel=true
         separate: false
+  - id: storagemanager
+    type: string
+    default: dysco
+    inputBinding
+      prefix: msout.storagemanager=
   - id: solint
     type: int
     default: 1
diff --git a/steps/predict.cwl b/steps/predict.cwl
index d9facbb..d785f10 100644
--- a/steps/predict.cwl
+++ b/steps/predict.cwl
@@ -21,6 +21,11 @@ inputs:
       prefix: msin.datacolumn=
       separate: false
     doc: Input data Column
+  - id: storagemanager
+    type: string
+    default: dysco
+    inputBinding
+      prefix: msout.storagemanager=  
   - default: MODEL_DATA
     id: msout_datacolumn
     type: string
-- 
GitLab