From 130ced47762dd52306923e0e9b52d49afb0e3467 Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Mon, 8 Jan 2024 17:39:28 +0000
Subject: [PATCH] updating run scripts

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

diff --git a/scripts/run_utils.sh b/scripts/run_utils.sh
index 2313dd6..fc8842b 100755
--- a/scripts/run_utils.sh
+++ b/scripts/run_utils.sh
@@ -25,13 +25,13 @@ function setup_conda_env() {
 
   # activate conda environment of python modules so they can be imported
   #TODO: Move conda_env from bin to envs
-  conda_env=${envs}/conda/py3EWS
-  source /storage/app/miniconda3/bin/activate ${conda_env}
+  venv=${envs}/conda/venv;
+  source ${venv}/bin/activate;
 }
 
 function teardown_conda_env() {
   # deactivate conda environment
-  source /storage/app/miniconda3/bin/deactivate ${conda_env}
+  deactivate;
 
 }
 
-- 
GitLab