From 89aa83e3b7f4248bd9a39eb4f0825a42b538571d Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Fri, 8 Nov 2019 18:42:02 +0100
Subject: [PATCH] Add test file

---
 Docker/Dockerfile                | 3 +++
 test_jobs/losoto_plotscreen.json | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Docker/Dockerfile b/Docker/Dockerfile
index 279e7f68..11a24895 100644
--- a/Docker/Dockerfile
+++ b/Docker/Dockerfile
@@ -104,11 +104,14 @@ RUN python3 -m pip install cwltool cwl-runner -e "git://github.com/darafferty/LS
 
 RUN python3 -m pip install -e "git+https://github.com/revoltek/losoto.git@${LoSoTo_TAG}#egg=LoSoTo"
 
+# ADD test data
 ADD L570745_uv_first10.MS.tar.xz /data
 ADD skymodels.tar.gz /data/skymodels
 ADD test_data/A-Team_lowres.sourcedb /data/A-Team_lowres.sourcedb
 ADD test_data/example.h5 /data/example.h5
+ADD test_data/example_residual.h5 /data/example_residual.h5
 ADD test_data/L570745_SB001_uv_MODEL.MS /data/L570745_SB001_uv_MODEL.MS
+
 ADD losoto.patch /home/lofaruser/losoto.patch
 RUN patch /src/losoto/losoto/operations/__init__.py /home/lofaruser/losoto.patch 
 ADD .entrypoint /home/lofaruser/.entrypoint
diff --git a/test_jobs/losoto_plotscreen.json b/test_jobs/losoto_plotscreen.json
index 6526c520..f1fc5367 100644
--- a/test_jobs/losoto_plotscreen.json
+++ b/test_jobs/losoto_plotscreen.json
@@ -1,5 +1,4 @@
 {
   "input_h5parm": {"class": "File", "path": "/data/example_residual.h5"},
-  "soltab":  ["sol000/amplitude000"],
-  "resSoltab": "amplitude000"
+  "soltab":  ["sol000/amplitude000"]
 }
-- 
GitLab