From 881777c8743a46f026ccd5fa3f19c41bc3f7fa30 Mon Sep 17 00:00:00 2001
From: Blake Fitch <blake.fitch@tuebingen.mpg.de>
Date: Wed, 3 Jul 2024 13:20:46 +0200
Subject: [PATCH] pull RDS_Samba path from ENV VARS

---
 pymods/mrdata_irods_config/mrdata_irods_config.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pymods/mrdata_irods_config/mrdata_irods_config.py b/pymods/mrdata_irods_config/mrdata_irods_config.py
index 60e9134..8829811 100644
--- a/pymods/mrdata_irods_config/mrdata_irods_config.py
+++ b/pymods/mrdata_irods_config/mrdata_irods_config.py
@@ -1,7 +1,13 @@
 # python configuration definitions for MrData iRODS structure
 
+# NEED TO GET RID OF THIS STYLE OF CONF
+
+
 # mount point of the landing zone
-lz_basepath = "/RDS_Samba"
+#lz_basepath = "/RDS_Samba"
+
+import os
+lz_basepath = os.environ.get("MRDENV_MRI_ETL_PATH_DICOM_LZ")
 
 # uploader log file path
 uploader_log_path = lz_basepath + "/LOGS"
-- 
GitLab