From ad6eb97804cd336291e4a27c0361b560784beca0 Mon Sep 17 00:00:00 2001 From: gac-x02da Date: Mon, 16 Jun 2025 20:28:45 +0200 Subject: [PATCH] fix(std_daq processing): replace internal daq mount path with VM mount --- tomcat_bec/devices/std_daq/std_daq_live_processing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tomcat_bec/devices/std_daq/std_daq_live_processing.py b/tomcat_bec/devices/std_daq/std_daq_live_processing.py index e427786..852277a 100644 --- a/tomcat_bec/devices/std_daq/std_daq_live_processing.py +++ b/tomcat_bec/devices/std_daq/std_daq_live_processing.py @@ -145,6 +145,8 @@ class StdDaqLiveProcessing: """ try: + if file_path.startswith("/gpfs/test"): + file_path = file_path.replace("/gpfs/test", "/data/test") with h5py.File(file_path, "r") as file: if entry not in file: raise ValueError(f"Entry '{entry}' not found in the file.")