From fd1f8c0ff58c630051cb67d404c6dd07f3403c5b Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Thu, 28 Mar 2024 19:37:16 +0100 Subject: [PATCH] refactor: applied isort to tomcat rotation motors --- .../ophyd_base_devices/tomcat_rotation_motors.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/ophyd_devices/ophyd_base_devices/tomcat_rotation_motors.py b/ophyd_devices/ophyd_base_devices/tomcat_rotation_motors.py index 148224d..63f44e0 100644 --- a/ophyd_devices/ophyd_base_devices/tomcat_rotation_motors.py +++ b/ophyd_devices/ophyd_base_devices/tomcat_rotation_motors.py @@ -13,10 +13,7 @@ import numpy as np from bec_lib import threadlocked from ophyd import DeviceStatus -from ophyd_devices.ophyd_base_devices.bec_protocols import ( - BECFlyerProtocol, - BECScanProtocol, -) +from ophyd_devices.ophyd_base_devices.bec_protocols import BECFlyerProtocol, BECScanProtocol from ophyd_devices.ophyd_base_devices.ophyd_rotation_base import EpicsRotationBase @@ -171,12 +168,7 @@ class TomcatAerotechRotation(EpicsRotationBase, BECFlyerProtocol, BECScanProtoco value (float): The value of the motor position. """ if (self._start_position is None) or (self._target_position is None) or (not self.moving): - self._run_subs( - sub_type=self.SUB_PROGRESS, - value=1, - max_value=1, - done=1, - ) + self._run_subs(sub_type=self.SUB_PROGRESS, value=1, max_value=1, done=1) return progress = np.abs(