fix: fix imports to match bec_lib changes
This commit is contained in:
parent
d46dafdbe8
commit
9db00add04
@ -8,8 +8,8 @@ from typing import List
|
||||
from ophyd import Device
|
||||
from ophyd.device import Staged
|
||||
|
||||
from bec_lib.core.file_utils import FileWriterMixin
|
||||
from bec_lib.core.bec_service import SERVICE_CONFIG
|
||||
from bec_lib.file_utils import FileWriterMixin
|
||||
from bec_lib.bec_service import SERVICE_CONFIG
|
||||
|
||||
from ophyd_devices.epics.devices.bec_scaninfo_mixin import BecScaninfoMixin
|
||||
from ophyd_devices.utils import bec_utils
|
||||
@ -22,6 +22,9 @@ class DetectorInitError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
MIN_READOUT = 3e-3
|
||||
|
||||
|
||||
class CustomDetectorMixin:
|
||||
def __init__(self, parent: Device = None, *args, **kwargs) -> None:
|
||||
self.parent = parent
|
||||
@ -165,7 +168,7 @@ class PSIDetectorBase(Device):
|
||||
|
||||
custom_prepare_cls = CustomDetectorMixin
|
||||
|
||||
MIN_READOUT = 1e-3
|
||||
MIN_READOUT = 3e-3
|
||||
|
||||
# Specify which functions are revealed to the user in BEC client
|
||||
USER_ACCESS = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user