From 42ee506e20dfc9e6e8373e1ad0e7f2f203053e9f Mon Sep 17 00:00:00 2001 From: mancini <mancini@astron.nl> Date: Fri, 25 Oct 2019 14:49:14 +0200 Subject: [PATCH] WSClean step Former-commit-id: 5739a296966888ba7498178b0b54b78a9cda77fc --- steps/wsclean.cwl | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 steps/wsclean.cwl diff --git a/steps/wsclean.cwl b/steps/wsclean.cwl new file mode 100644 index 00000000..f4987ba5 --- /dev/null +++ b/steps/wsclean.cwl @@ -0,0 +1,42 @@ +class: CommandLineTool +cwlVersion: v1.0 +id: wsclean +baseCommand: + - wsclean +inputs: + - id: image_size + type: int[] + default: [1000, 1000] + inputBinding: + position: 1 + prefix: -size + - id: image_scale + type: float + default: 0.01 + inputBinding: + position: 1 + prefix: -scale + valueFrom: $(self)deg + - id: image_name + default: image + type: string + inputBinding: + position: 1 + prefix: -name + - id: msin + type: Directory + inputBinding: + position: 2 +outputs: + dirty_image: + type: File + outputBinding: + glob: $(inputs.image_name)-dirty.fits + image: + type: File + outputBinding: + glob: $(inputs.image_name)-image.fits +label: WSClean +requirements: + - class: DockerRequirement + dockerPull: 'prefactor:latest' -- GitLab