From 055585df22a680e310870e55455212aba3d99ad8 Mon Sep 17 00:00:00 2001 From: burnout87 Date: Fri, 17 May 2024 16:23:29 +0200 Subject: [PATCH] updated_dataserver_monitor always reads from work_dir --- cdci_data_analysis/analysis/job_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdci_data_analysis/analysis/job_manager.py b/cdci_data_analysis/analysis/job_manager.py index ea81774c..65dc5223 100644 --- a/cdci_data_analysis/analysis/job_manager.py +++ b/cdci_data_analysis/analysis/job_manager.py @@ -173,9 +173,9 @@ def get_latest_monitor_mtime(self): def updated_dataserver_monitor(self,): # TODO: combine all files - + job_monitor_path = os.path.join(self.work_dir, 'job_monitor.json') try: - with open(self.file_path, 'r') as infile: + with open(job_monitor_path, 'r') as infile: #print("=====> reading from ", self.file_path) self.monitor = json.load(infile,)