diff --git a/slic/utils/hastyepics.py b/slic/utils/hastyepics.py index 8dc5542e4..1945bc81a 100644 --- a/slic/utils/hastyepics.py +++ b/slic/utils/hastyepics.py @@ -30,10 +30,12 @@ class Motor(epics.Motor): self._prefix = name + print("LATER:", getattr(self, '_prefix'), "\n") print("Prefix :", name, "\n") Device.__init__(self, name, delim='.', attrs=self._init_list, timeout=timeout) + print("LATER:", getattr(self, '_prefix'), "\n") print("After device :", name, "\n") # speed up: do not get any data from PVs during construction # # make sure this is really a motor! @@ -46,7 +48,7 @@ class Motor(epics.Motor): self.add_pv(pvname, attr=key) print("After add_pv:", name, "\n") self._callbacks = {} - print("LATER:", getattr(self, '_prefix')) + print("LATER:", getattr(self, '_prefix'), "\n") print("End :", name, "\n")