From e07a1fe66f1af048f582614fffdd9f9b25e68766 Mon Sep 17 00:00:00 2001 From: gac-x07mb Date: Tue, 15 Oct 2024 16:44:04 +0200 Subject: [PATCH] correct another editing error in phoenix_trigger.py --- phoenix_bec/devices/phoenix_trigger.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/phoenix_bec/devices/phoenix_trigger.py b/phoenix_bec/devices/phoenix_trigger.py index ad69889..3b50690 100644 --- a/phoenix_bec/devices/phoenix_trigger.py +++ b/phoenix_bec/devices/phoenix_trigger.py @@ -48,11 +48,10 @@ class SAMPLING(int, enum.Enum): class PhoenixTriggerSetup(CustomDetectorMixin): - """ Mixin Class to setup the PhoenixTrigger device - """ + """ def on_stage(self) -> None: """ @@ -161,17 +160,23 @@ class PhoenixTrigger(PSIDetectorBase): ################################################################## USER_ACCESS = [] + + #################################################################### + # + # # specify Setup class into variable custom_prepare_cls # #################################################################### - # specify Setup class into variable custom_prepare_cls + + custom_prepare_cls = PhoenixTriggerSetup + + ################################################################### # in __init__ of PSIDetectorBase will the initialzed by # self.custom_prepare = self.custom_prepare_cls(parent=self, **kwargs) # making the instance of PSIDetectorBase availble to functions # in PhoenixTriggerSetup. - ###################################################################### - - start_csmpl = Cpt(he base class are - # inherited, most notable prefix, which is here 'X07MB-OP2:' + # + # This inherits, among other things, the input parameters, such as + # the notable prefix, which is here 'X07MB-OP2:' # # The input of Component=Cpt is Cpt(deviceClass,suffix) # if Cpt is used in a class, which has interited Device, here via: