`AcquisitionFuture.await_image_saved` does not return image and metadata
ilyakolb opened this issue · 1 comments
ilyakolb commented
Using the command:
img,metadata = future.await_image_saved(event['axes'], return_image = True, return_metadata=True)
Expected behavior is that both the image and metadata are returned.
Actual behavior:
img,metadata = future.await_image_saved(event['axes'], return_image = True, return_metadata=True)
^^^^^^^^^^^^
ValueError: too many values to unpack (expected 2)
Only the image data is being returned because line 152 from the code below never gets called (the function returns on one of the previous if statements).
pycro-manager/pycromanager/acquisition/acq_future.py
Lines 142 to 156 in eb467b4