From 175700b6ad135cb7491eb88431ecde56704fd0b4 Mon Sep 17 00:00:00 2001 From: appel_c Date: Mon, 20 Nov 2023 13:53:44 +0100 Subject: [PATCH] fix: remove duplicated stop call from eiger.custom_prepare.finished --- ophyd_devices/epics/devices/eiger9m_csaxs.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ophyd_devices/epics/devices/eiger9m_csaxs.py b/ophyd_devices/epics/devices/eiger9m_csaxs.py index 1f77f05..758d659 100644 --- a/ophyd_devices/epics/devices/eiger9m_csaxs.py +++ b/ophyd_devices/epics/devices/eiger9m_csaxs.py @@ -278,7 +278,6 @@ class Eiger9MSetup(CustomDetectorMixin): check_stopped=True, all_signals=False, ): - self.parent.stop() raise EigerTimeoutError( f"Failed to arm the acquisition. Detector state {signal_conditions[0][0]}" ) @@ -339,8 +338,6 @@ class Eiger9MSetup(CustomDetectorMixin): check_stopped=True, all_signals=True, ): - self.stop_detector() - self.stop_detector_backend() raise EigerTimeoutError( f"Reached timeout with detector state {signal_conditions[0][0]}, std_daq state" f" {signal_conditions[1][0]} and received frames of {signal_conditions[2][0]} for"