From 5ce4a65b7e91114a2f24fd421f51abd1a85120af Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Wed, 8 May 2024 17:19:27 +0200 Subject: [PATCH] fix: updated to new ophyd_devices repo structure --- tomcat_bec/device_configs/microxas_test_bed.yaml | 2 +- tomcat_bec/devices/grashopper_tomcat.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tomcat_bec/device_configs/microxas_test_bed.yaml b/tomcat_bec/device_configs/microxas_test_bed.yaml index 197c028..cff0e95 100644 --- a/tomcat_bec/device_configs/microxas_test_bed.yaml +++ b/tomcat_bec/device_configs/microxas_test_bed.yaml @@ -49,7 +49,7 @@ femto_mean_curr: softwareTrigger: false es1_roty: description: 'Test rotation stage' - deviceClass: ophyd_devices.epics.devices.EpicsMotorX + deviceClass: ophyd_devices.devices.EpicsMotorX deviceConfig: {prefix: 'X02DA-ES1-SMP1:ROTY'} onFailure: buffer enabled: true diff --git a/tomcat_bec/devices/grashopper_tomcat.py b/tomcat_bec/devices/grashopper_tomcat.py index 47a932f..0c94801 100644 --- a/tomcat_bec/devices/grashopper_tomcat.py +++ b/tomcat_bec/devices/grashopper_tomcat.py @@ -11,7 +11,10 @@ from ophyd import Device, EpicsSignal, EpicsSignalRO, EpicsSignalWithRBV # import numpy as np from ophyd.ophydobj import Kind -from ophyd_devices.epics.devices.psi_detector_base import CustomDetectorMixin, PSIDetectorBase +from ophyd_devices.interfaces.base_classes.psi_detector_base import ( + CustomDetectorMixin, + PSIDetectorBase, +) # os.environ["EPICS_CA_AUTO_ADDR_LIST"] = "No" # os.environ["EPICS_CA_ADDR_LIST"] = "129.129.208.143"