diff --git a/lofar-cwl/steps/DP3.Execute.cwl b/lofar-cwl/steps/DP3.Execute.cwl index e1f3bbfd445ec81cfb820afd4fc8a52800d402be..a18021373b04553b9cde5e84ca8ab531ac14854a 100644 --- a/lofar-cwl/steps/DP3.Execute.cwl +++ b/lofar-cwl/steps/DP3.Execute.cwl @@ -41,6 +41,18 @@ outputs: type: Directory 'sbg:x': 224.60113525390625 'sbg:y': 130 + - id: logfile + outputSource: + - dppp/logfile + type: 'File[]' + 'sbg:x': 185.1875 + 'sbg:y': 334.5 + - id: parset + outputSource: + - generic_step/parset + type: File + 'sbg:x': 11.1875 + 'sbg:y': -299.5 steps: - id: generic_step in: diff --git a/lofar-cwl/steps/DP3.FilterStepGenerator.cwl b/lofar-cwl/steps/DP3.FilterStepGenerator.cwl new file mode 100644 index 0000000000000000000000000000000000000000..0a582b27c0d351d3b8a2f1fa2a2805094dc94ad3 --- /dev/null +++ b/lofar-cwl/steps/DP3.FilterStepGenerator.cwl @@ -0,0 +1,50 @@ +#!/usr/bin/env cwl-runner + +class: Workflow +cwlVersion: v1.0 +$namespaces: + sbg: 'https://www.sevenbridges.com/' +id: dp3-filter-step-generator + +inputs: + - id: steps + type: Any[]? + default: [] + - id: step_name + type: string + doc: unique name for the step + default: filter + - id: baseline + type: string + doc: baseline to keeps + - id: remove + type: boolean + doc: Remove or flag +outputs: +- id: augmented_steps + outputSource: + - DP3_GenericStep/augmented_steps + type: Any[] + +steps: + - id: DP3_GenericStep + in: + - id: steps + source: steps + - id: parameters + valueFrom: $(inputs) + - id: step_id + source: step_name + - id: step_type + default: 'filter' + - id: baseline + source: baseline + - id: remove + source: remove + out: + - augmented_steps + run: ../steps/DP3.GenericStep.cwl +requirements: + - class: StepInputExpressionRequirement + - class: InlineJavascriptRequirement + - class: MultipleInputFeatureRequirement \ No newline at end of file