From d5662061873e92dd1430bc5ba85814ddcf6f85e4 Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Tue, 17 Oct 2023 13:34:49 +0100
Subject: [PATCH] first stab at getting new runner script working

---
 scripts/run_Processor.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/run_Processor.sh b/scripts/run_Processor.sh
index 763daaf..9d9eb43 100755
--- a/scripts/run_Processor.sh
+++ b/scripts/run_Processor.sh
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+original_args=("$@")
+
 SHORT=p:h
 OPTS=$(getopt -a --options $SHORT -- "$@")
 echo $OPTS
@@ -72,7 +74,7 @@ proc_path="$( dirname "$(readlink -f "$0" )" )"
 # run the processor with all arguments
 processor=${proc_path}/../coordinator/${processor_class}
 printf "processor is %s\n\n" "$processor"
-python  "${processor}" "$@"
+python  "${processor}" "${original_args[@]}"
 exit_code=$?;
 
 # deactivate conda environment
-- 
GitLab