spc-group / haven

Bluesky tools for beamlines managed by the spectroscopy group
https://haven-spc.readthedocs.io/en/latest/
Other
4 stars 6 forks source link

Return the UID from the fly_scan plan #293

Open canismarko opened 3 weeks ago

canismarko commented 3 weeks ago

Describe the bug

Most bluesky plans (e.g. bp.count) return the UID of the scan. The haven.plans.fly.fly_scan does not do this.

To Reproduce Steps to reproduce the behavior:

  1. Prepare an outer plan that contains
    1. uid = yield from fly_scan(...)
    2. assert uid is not None
  2. Execute the plan on the run engine

Expected behavior uid should be the UID string for the fly scan

Desktop (please complete the following information):

Additional context Add any other context about the problem here.