blissdata: streaming API
@felix I'm struggling providing support for Bliss 2.0 (blissoda!111 (merged), workflow/ewoksapps/ewoksdata!70 (merged))
Since documentation is missing I look at how bliss is using the API but this fails.
lima_clients = {}
for stream in self._scan.streams.values():
try:
lima_clients[stream.key] = lima_client_factory(
self._scan._data_store, stream.info
)
except ValueError:
pass
client = StreamingClient(self._scan.streams)
Traceback (most recent call last):
File "/home/denolf/projects/ewoksdata/test.py", line 8, in <module>
for d in iter_bliss_scan_data_from_memory("esrf:scan:01HJDY97EXPB24D1V5BC58GJ6P", ["difflab6"], ["diode1"]):
File "/home/denolf/projects/ewoksdata/src/ewoksdata/data/blissdata/blissdatav1.py", line 32, in iter_bliss_scan_data_from_memory
lima_clients[stream.key] = lima_client_factory(
AttributeError: 'LimaStream' object has no attribute 'key'
Currently I'm looking for an API to loop over the data of a scan. Can you provide an example?
Edited by Wout De Nolf