Skip to content
Snippets Groups Projects
Commit 3f42a66d authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Merge branch 'add_h5parmcollector' into 'master'

Add H5ParmCollector

See merge request eosc/prefactor3-cwl!1
parents 183d07af 2291a3d5
No related branches found
No related tags found
2 merge requests!69Change the name of the pre-calibrated output MS,!1Add H5ParmCollector
Pipeline #174 passed with warnings
...@@ -64,6 +64,12 @@ NDPPP: ...@@ -64,6 +64,12 @@ NDPPP:
script: script:
- cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH steps/DPPP.cwl test_jobs/NDPPP.json - cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH steps/DPPP.cwl test_jobs/NDPPP.json
h5parm_collector:
stage: test_steps
allow_failure: true
script:
- cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/H5ParmCollector.cwl test_jobs/h5parm_collector.json
aoflagger: aoflagger:
stage: test_steps stage: test_steps
allow_failure: true allow_failure: true
...@@ -82,6 +88,12 @@ interpolate_visibilities: ...@@ -82,6 +88,12 @@ interpolate_visibilities:
script: script:
- cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/interpolate_visibilities.cwl test_jobs/interpolate_visibilities.json - cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/interpolate_visibilities.cwl test_jobs/interpolate_visibilities.json
h5parm_collector:
stage: test_steps
allow_failure: true
script:
- cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/H5ParmCollector.cwl test_jobs/h5parm_collector.json
blsmooth: blsmooth:
stage: test_steps stage: test_steps
allow_failure: true allow_failure: true
......
...@@ -93,9 +93,13 @@ ARG LSMTool_TAG=master ...@@ -93,9 +93,13 @@ ARG LSMTool_TAG=master
RUN apt-get update && apt-get install -y nodejs python3-pip git wsclean RUN apt-get update && apt-get install -y nodejs python3-pip git wsclean
RUN python3 -m pip install cwltool cwl-runner -e "git://github.com/darafferty/LSMTool.git@${LSMTool_TAG}#egg=LSMTool" RUN python3 -m pip install cwltool cwl-runner -e "git://github.com/darafferty/LSMTool.git@${LSMTool_TAG}#egg=LSMTool"
RUN python3 -m pip install git+https://github.com/revoltek/losoto.git
ADD L570745_uv_first10.MS.tar.xz /data ADD L570745_uv_first10.MS.tar.xz /data
ADD skymodels.tar.gz /data/skymodels ADD skymodels.tar.gz /data/skymodels
ADD example.h5 /data
ADD ./test_data/* /data/ ADD ./test_data/* /data/
ADD .entrypoint /home/lofaruser/.entrypoint ADD .entrypoint /home/lofaruser/.entrypoint
RUN chown lofaruser:lofaruser /home/lofaruser/.entrypoint && \ RUN chown lofaruser:lofaruser /home/lofaruser/.entrypoint && \
chmod +rx /home/lofaruser/.entrypoint chmod +rx /home/lofaruser/.entrypoint
......
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.0
id: h5parm_collector
hints:
DockerRequirement:
dockerPull: tammojan/lofar-pipeline
baseCommand:
- H5parm_collector.py
inputs:
- id: h5parmFiles
type: File[]
doc: List of h5parm files
inputBinding:
position: 0
- id: insolset
type: string?
default: sol000
doc: Input solset name
inputBinding:
prefix: --insolset
- id: outh5parmname
type: string
doc: Output h5parm name
default: output.h5
outputs:
- id: outh5parm
doc: Output h5parm
type: File
outputBinding:
glob: $(inputs.outh5parmname)
label: H5parm_collector
File added
{
"h5parmFiles": [
{
"class": "File",
"path": "/data/example.h5"
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment