From e155fc4d96d6b3ecbbc373f3c623cd05da6af396 Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Tue, 14 May 2024 13:59:41 +0100
Subject: [PATCH] refactoring for new processor naming

---
 configs/docker/run/launchAndRunDockerEWS.sh | 2 +-
 scripts/run_Advisory_Processor.sh           | 2 +-
 scripts/run_Deposition_Processor.sh         | 2 +-
 scripts/run_Environment_Processor.sh        | 2 +-
 scripts/run_Epidemiology_Processor.sh       | 2 +-
 scripts/run_Scraper_Processor.sh            | 2 +-
 scripts/run_Survey_Processor.sh             | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/configs/docker/run/launchAndRunDockerEWS.sh b/configs/docker/run/launchAndRunDockerEWS.sh
index 7c3e9e3..40a04f7 100755
--- a/configs/docker/run/launchAndRunDockerEWS.sh
+++ b/configs/docker/run/launchAndRunDockerEWS.sh
@@ -69,7 +69,7 @@ elif [ "$component" = "Scraper" ];then
 elif [ "$component" = "Epidemiology" ];then
     component_script="/storage/app/EWS_prod/code/coordinator/scripts/run_Epidemiology_Processor.sh"
 elif [ "$component" = "MetResample" ];then
-    component_script="/storage/app/EWS_prod/code/met_resample/scripts/run_MetResample_Processor.sh"
+    component_script="/storage/app/EWS_prod/code/met_resampling/scripts/run_MetResample_Processor.sh"
 else
     printf "component '%s' not recognised" "$component"
 fi
diff --git a/scripts/run_Advisory_Processor.sh b/scripts/run_Advisory_Processor.sh
index d34a1fe..79bc070 100755
--- a/scripts/run_Advisory_Processor.sh
+++ b/scripts/run_Advisory_Processor.sh
@@ -7,7 +7,7 @@ source "${proc_path}"/run_utils.sh
 
 setup_virtual_env
 
-python "${proc_path}"/../coordinator/ProcessorAdvisory.py "$@"
+python "${proc_path}"/../coordinator/processor_advisory_py "$@"
 exit_code=$?
 
 teardown_virtual_env
diff --git a/scripts/run_Deposition_Processor.sh b/scripts/run_Deposition_Processor.sh
index 67c4b7a..6b5f415 100755
--- a/scripts/run_Deposition_Processor.sh
+++ b/scripts/run_Deposition_Processor.sh
@@ -9,7 +9,7 @@ setup_virtual_env
 
 echo "Running ProcessorDeposition.py with path: "
 pwd;
-python "${proc_path}"/../coordinator/ProcessorDeposition.py "$@"
+python "${proc_path}"/../coordinator/processorDeposition.py "$@"
 exit_code=$?
 
 teardown_virtual_env
diff --git a/scripts/run_Environment_Processor.sh b/scripts/run_Environment_Processor.sh
index cb7046c..1596a2c 100755
--- a/scripts/run_Environment_Processor.sh
+++ b/scripts/run_Environment_Processor.sh
@@ -7,7 +7,7 @@ source "${proc_path}"/run_utils.sh
 
 setup_virtual_env
 
-python "${proc_path}"/../coordinator/ProcessorEnvironment.py "$@"
+python "${proc_path}"/../coordinator/processor_environment.py "$@"
 exit_code=$?
 
 teardown_virtual_env
diff --git a/scripts/run_Epidemiology_Processor.sh b/scripts/run_Epidemiology_Processor.sh
index 3606c5b..a525991 100755
--- a/scripts/run_Epidemiology_Processor.sh
+++ b/scripts/run_Epidemiology_Processor.sh
@@ -7,7 +7,7 @@ source "${proc_path}"/run_utils.sh
 
 setup_virtual_env
 
-python "${proc_path}"/../coordinator/ProcessorEpidemiology.py "$@"
+python "${proc_path}"/../coordinator/processor_epidemiology.py "$@"
 exit_code=$?
 
 teardown_virtual_env
diff --git a/scripts/run_Scraper_Processor.sh b/scripts/run_Scraper_Processor.sh
index 631b288..9baf937 100755
--- a/scripts/run_Scraper_Processor.sh
+++ b/scripts/run_Scraper_Processor.sh
@@ -7,7 +7,7 @@ source "${proc_path}"/run_utils.sh
 
 setup_virtual_env
 
-python "${proc_path}"/../coordinator/ProcessorScraper.py "$@"
+python "${proc_path}"/../coordinator/processor_scraper.py "$@"
 exit_code=$?
 
 teardown_virtual_env
diff --git a/scripts/run_Survey_Processor.sh b/scripts/run_Survey_Processor.sh
index 628d66f..644099b 100755
--- a/scripts/run_Survey_Processor.sh
+++ b/scripts/run_Survey_Processor.sh
@@ -7,7 +7,7 @@ source "${proc_path}"/run_utils.sh
 
 setup_virtual_env
 
-python "${proc_path}"/../coordinator/ProcessorSurveys.py "$@"
+python "${proc_path}"/../coordinator/processor_surveys.py "$@"
 exit_code=$?
 
 teardown_virtual_env
-- 
GitLab