From a1c6f7b321bb1012665d00f4f660ecf8fda80ea8 Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Wed, 10 Jan 2024 14:14:09 +0000
Subject: [PATCH] swapping the RIE_values.csv for RIE_values.nc reader

---
 coordinator/EnvSuitPipeline.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/coordinator/EnvSuitPipeline.py b/coordinator/EnvSuitPipeline.py
index 0cc0ea8..eb830f8 100644
--- a/coordinator/EnvSuitPipeline.py
+++ b/coordinator/EnvSuitPipeline.py
@@ -287,11 +287,11 @@ def run_pipeline(pipeline_config, region, dateString, extracted = False, prevent
 
                 shutil.copy(resultFile,strain_outFile)
 
-                # todo - Add a flad to this part of the code to enable/dosable csv writing as an option
-                resultCSVFile = envSuitPath + 'RIE.csv'
-                if os.path.isfile(resultCSVFile):
-                    strain_outFile = strain_outPath + '/RIE_value.csv'
-                    shutil.copy(resultCSVFile,strain_outFile)
+                # todo - Add a flag to this part of the code to enable/disable csv writing as an option
+                # resultCSVFile = envSuitPath + 'RIE.csv'
+                # if os.path.isfile(resultCSVFile):
+                #     strain_outFile = strain_outPath + '/RIE_value.csv'
+                #     shutil.copy(resultCSVFile,strain_outFile)
 
                 logger.info(f"{strain} result successfully created and moved to {strain_outPath}/")
 
-- 
GitLab