fix
CI for phoenix_bec / test (push) Failing after 35s
CI for phoenix_bec / test (pull_request) Failing after 38s

This commit is contained in:
2026-07-28 10:29:31 +02:00
parent 8395c69573
commit cad53c1b18
@@ -326,7 +326,7 @@ class PSIDetectorBase(Device):
(https://bec.readthedocs.io/en/latest/) for more information about device integration.
"""
custom_prepare_cls = CustomDetectorMixin
custom_prepare_cls =
filepath = Cpt(SetableSignal, value="", kind=Kind.config)
@@ -369,7 +369,7 @@ class PSIDetectorBase(Device):
self.scaninfo = None
self.filewriter = None
if not issubclass(self.custom_prepare_cls, CustomPrepare):
if not issubclass(self.custom_prepare_cls, CustomDetectorMixin):
raise BECDeviceBaseError(
f"Custom prepare class must be subclass of CustomDetectorMixin, provided: {self.custom_prepare_cls}"
)