From 5725af830729e5e7d1b5f95284ae4dedaac47396 Mon Sep 17 00:00:00 2001 From: Mohacsi Istvan Date: Fri, 18 Nov 2022 13:58:39 +0100 Subject: [PATCH] Output formatting --- ophyd_devices/epics/DeviceFactory.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ophyd_devices/epics/DeviceFactory.py b/ophyd_devices/epics/DeviceFactory.py index cbd6215..bb49122 100644 --- a/ophyd_devices/epics/DeviceFactory.py +++ b/ophyd_devices/epics/DeviceFactory.py @@ -56,5 +56,7 @@ def createProxy(name: str, connect=True) -> OphydObject: if __name__ == "__main__": for key in lut_db: - print(key) + print("") dut = createProxy(str(key)) + print(f"{key}\t:\t{dut.read()}") +