We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e3d188 commit bc1646eCopy full SHA for bc1646e
apstools/callbacks.py
@@ -67,8 +67,8 @@ def __init__(self):
67
68
def receiver(self, key, document):
69
"""keep all documents from recent plan in memory"""
70
- uid = document.get("uid", None) or document.get("datum_id", None)
71
- if "uid" is None:
+ uid = document.get("uid") or document.get("datum_id")
+ if uid is None:
72
raise KeyError("No uid in '{}' document".format(key))
73
self.uids.append(uid)
74
logger = logging.getLogger(__name__)
apstools/synApps_ophyd/__init__.py
@@ -37,3 +37,5 @@
37
from .save_data import *
38
from .sscan import *
39
from .swait import *
40
+
41
+# __all__ = []
0 commit comments