Viewer: calls file rather than from online stream

This commit is contained in:
appleb_m committed 2025-11-28 17:07:18 +01:00
1 parent 3629f2ebd8
commit a0d7a805ec
1 file changed
+2 -2
+2 -2
View File
@@ -57,7 +57,7 @@ class JFJochDBusClient(QObject):
path = "/sls/mx/data/" + name + "_master.h5"
print(f"load {path}")
if self._ensure_interface():
reply = self.__interface.call("LoadFile", "http://sls-gpu-001:8080", 0, 1)
reply = self.__interface.call("LoadFile", path, 0, 1)
@Slot(str, int)
def load_image(self, name: str, number: int):
@@ -71,7 +71,7 @@ class JFJochDBusClient(QObject):
path = "/sls/mx/data/" + name + "_master.h5"
print(f"Load dataset: {path} image: {number}")
if self._ensure_interface():
reply = self.__interface.call("LoadFile", "http://sls-gpu-001:8080", number, 1)
reply = self.__interface.call("LoadFile", path, number, 1)
@Slot()
def load_online(self):