From 1810c6946bec6b2827548ededecdfd4f2ac9c275 Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Tue, 12 Nov 2024 11:09:12 +0100
Subject: [PATCH] Fix running script

---
 integration_tests/dp3_ddecal.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/integration_tests/dp3_ddecal.sh b/integration_tests/dp3_ddecal.sh
index ac2b0db..23475a3 100755
--- a/integration_tests/dp3_ddecal.sh
+++ b/integration_tests/dp3_ddecal.sh
@@ -2,7 +2,7 @@
 set -e
 
 DATA_DIR=/var/scratch/mancini/wp5/andre_test/Testset
-
+SCRIPT_DIR=$(dirname $0)
 cp ${DATA_DIR}/*.h5parm . 
 
 DP3 msin.datacolumn=DATA\
@@ -14,5 +14,5 @@ DP3 msin.datacolumn=DATA\
     numthreads=40 \
     verbosity=verbose \
     time_logging=true \
-    msout=.
-    ddecal.parset 
\ No newline at end of file
+    msout=. \
+    ${SCRIPT_DIR}/ddecal.parset 
\ No newline at end of file
-- 
GitLab