From 0af85473d902e091c2c3ad66df8a139fac7b143b Mon Sep 17 00:00:00 2001
From: Alexander Drabent <drabent@lof009.control.lofar>
Date: Thu, 28 Nov 2019 18:38:54 +0000
Subject: [PATCH] Add avg in ndppp_prep_cal

---
 subworkflow/ndppp_prep_cal.cwl | 4 ++--
 workflows/HBA_calibrator.cwl   | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/subworkflow/ndppp_prep_cal.cwl b/subworkflow/ndppp_prep_cal.cwl
index 1305efed..d06e9e65 100644
--- a/subworkflow/ndppp_prep_cal.cwl
+++ b/subworkflow/ndppp_prep_cal.cwl
@@ -39,12 +39,10 @@ inputs:
     'sbg:y': 273.64007568359375
   - id: timeresolution
     type: float
-    default: 4.
     'sbg:x': 2021.81787109375
     'sbg:y': -352.4759216308594
   - id: freqresolution
     type: string
-    default: '48.82kHz '
     'sbg:x': 1999.5889892578125
     'sbg:y': 170.7563934326172
 outputs:
@@ -239,3 +237,5 @@ steps:
     'sbg:y': -55.93873977661133
 requirements:
   - class: SubworkflowFeatureRequirement
+  - class: StepInputExpressionRequirement
+  - class: InlineJavascriptRequirement
\ No newline at end of file
diff --git a/workflows/HBA_calibrator.cwl b/workflows/HBA_calibrator.cwl
index 84519c22..d86ac47d 100644
--- a/workflows/HBA_calibrator.cwl
+++ b/workflows/HBA_calibrator.cwl
@@ -40,10 +40,12 @@ inputs:
     'sbg:y': 679.407958984375
   - id: freqresolution
     type: string
+    default: '48.82kHz '
     'sbg:x': -499.0240478515625
     'sbg:y': 231.7971649169922
   - id: timeresolution
     type: float
+    default: 4.
     'sbg:x': -502.6177673339844
     'sbg:y': -846.1633911132812
 outputs:
-- 
GitLab