fix: remove duplicated stop call from eiger.custom_prepare.finished

This commit is contained in:
appel_c 2023-11-20 13:53:44 +01:00
parent f6febb5b3a
commit 175700b6ad

View File

@ -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"