This commit is contained in:
Mohacsi Istvan 2022-11-18 16:24:23 +01:00
parent 6c2ae5c166
commit 7bb9c11249
2 changed files with 5 additions and 11 deletions

View File

@ -32,8 +32,7 @@ def createProxy(name: str, connect=True) -> OphydObject:
"""Create an ophyd device from its alias
Factory routine that uses the beamline database to instantiate
instantiate ophyd devices from their alias and pre-defined
configuration parameters.
ophyd devices from their alias and pre-defined configuration.
Does nothing if the device is already an OphydObject!
"""
if issubclass(type(name), OphydObject):
@ -61,7 +60,3 @@ if __name__ == "__main__":
print(f"{key}\t: {type(dut)}")
except Exception as ex:
print(ex)

View File

@ -8,4 +8,3 @@ from .InsertionDevice import InsertionDevice
from ophyd import EpicsSignal, EpicsSignalRO, EpicsMotor
from ophyd.sim import SynAxis, SynSignal, SynPeriodicSignal
from ophyd.quadem import QuadEM