Bug fixes following big merge and updated alert banenr
Build and Publish / build (pull_request) Failing after 11s
Build and Publish / Build and Deploy Docs (pull_request) Has been skipped
Build and Publish / build (pull_request_target) Failing after 11s
Build and Publish / Build and Deploy Docs (pull_request_target) Has been skipped

This commit is contained in:
2026-03-27 11:55:22 +01:00
parent fec26c1186
commit 53296a166e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ if __name__ == "__main__":
default_gonio_cam_addr = "axis-accc8ed2972e.psi.ch"
default_gonio_camera_id = 3
case MXBeamline.X10SA:
default_url = "http://mx-x10sa-queue-01.psi.ch:5210" #"http://127.0.0.1:5210"
default_url = "http://mx-x10sa-queue-01.psi.ch:5210" #"http://127.0.0.1:5210"#
default_zmq_addr = "tcp://x10sa-spark-01:9091" # "tcp://x10sa-spark-01:9091" #
default_pred_zmq_addr = "tcp://x10sa-spark-01:9091" #"tcp://sls-gpu-003:9089"#""
default_beamline_cam_addr = "axis-accc8eb02488.psi.ch"
+2 -2
View File
@@ -124,10 +124,10 @@ class MainWindow(QMainWindow):
root_layout.setContentsMargins(0, 0, 0, 0)
root_layout.setSpacing(0)
self.alert_banner = AlertBanner(parent=root_widget, error_timeout_ms=30000, recover_timeout_ms=5000)
self.alert_banner = AlertBanner(parent=root_widget)
root_layout.addWidget(self.alert_banner)
self.alert_banner_secondary = AlertBanner(parent=root_widget, error_timeout_ms=10000, recover_timeout_ms=5000)
self.alert_banner_secondary = AlertBanner(parent=root_widget)
root_layout.addWidget(self.alert_banner_secondary)
top_widget = QWidget(parent=root_widget)