mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2026-02-07 23:58:41 +01:00
black; added push events to rt_lamni
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import functools
|
||||
import logging
|
||||
import threading
|
||||
import time
|
||||
from typing import List
|
||||
@@ -12,9 +11,9 @@ from ophyd.utils import ReadOnlyError, LimitError
|
||||
from ophyd_devices.utils.controller import Controller, threadlocked
|
||||
from ophyd_devices.utils.socket import SocketIO, SocketSignal, raise_if_disconnected
|
||||
from prettytable import PrettyTable
|
||||
from bec_utils import bec_logger
|
||||
|
||||
logger = logging.getLogger("galil")
|
||||
|
||||
logger = bec_logger.logger
|
||||
|
||||
class GalilCommunicationError(Exception):
|
||||
pass
|
||||
@@ -546,7 +545,6 @@ class GalilMotor(Device, PositionerBase):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
mock = False
|
||||
if not mock:
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import logging
|
||||
import threading
|
||||
import time
|
||||
from typing import List
|
||||
@@ -10,8 +9,9 @@ from ophyd.utils import ReadOnlyError
|
||||
from ophyd_devices.utils.controller import Controller
|
||||
from ophyd_devices.utils.socket import SocketIO, SocketSignal, raise_if_disconnected
|
||||
from prettytable import PrettyTable
|
||||
from bec_utils import bec_logger
|
||||
|
||||
logger = logging.getLogger("galil")
|
||||
logger = bec_logger.logger
|
||||
|
||||
|
||||
class GalilCommunicationError(Exception):
|
||||
@@ -460,7 +460,6 @@ class GalilMotor(Device, PositionerBase):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
mock = True
|
||||
if not mock:
|
||||
|
||||
Reference in New Issue
Block a user