From 0b8c253201221647bb4ea9c31aa18908a587f606 Mon Sep 17 00:00:00 2001 From: x12sa Date: Tue, 23 Jun 2026 15:44:22 +0200 Subject: [PATCH] temp fix for galil_show_all not working after config reload --- csaxs_bec/devices/omny/galil/galil_ophyd.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/csaxs_bec/devices/omny/galil/galil_ophyd.py b/csaxs_bec/devices/omny/galil/galil_ophyd.py index 550cc36..b1b7b4a 100644 --- a/csaxs_bec/devices/omny/galil/galil_ophyd.py +++ b/csaxs_bec/devices/omny/galil/galil_ophyd.py @@ -333,7 +333,11 @@ class GalilController(Controller): def galil_show_all(self) -> None: for controller in self._controller_instances.values(): - if isinstance(controller, GalilController): + if any( + GalilController.__name__ == entry.__name__.split(".")[-1] + for entry in controller.__class__.mro() + ): + # if isinstance(controller, GalilController): controller.describe() @staticmethod