From 33302d62cbc7d0278c27b0444ad3cfb9dc5986b5 Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Tue, 17 Oct 2023 13:58:31 +0100
Subject: [PATCH] adding all processor types to launch script

---
 scripts/run_Processor.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/scripts/run_Processor.sh b/scripts/run_Processor.sh
index 9d9eb43..8e1fd2f 100755
--- a/scripts/run_Processor.sh
+++ b/scripts/run_Processor.sh
@@ -31,11 +31,17 @@ done
 printf "component is %s" "$component"
 
 if [ "$component" = "Environment" ]; then
-    echo "running env"
     processor_class="ProcessorEnvironment.py"
 elif [ "$component" = "Deposition" ];then
-    echo "running depo"
     processor_class="ProcessorDeposition.py"
+elif [ "$component" = "Survey" ];then
+    processor_class="ProcessorSurveys.py"
+elif [ "$component" = "Advisory" ];then
+    processor_class="ProcessorAdvisory.py"
+elif [ "$component" = "Scraper" ];then
+    processor_class="ProcessorScraper.py"
+elif [ "$component" = "Epidemiology" ];then
+    processor_class="ProcessorEpidemiology.py"
 else
     printf "component '%s' not recognised" "$component"
 fi
-- 
GitLab