Skip to content

Return plan_result to the client #1349

@DominicOram

Description

@DominicOram

In bluesky I can run the following:

def my_plan():
    yield from ...    
    return 4

RE = RunEngine()
assert RE.plan_result == 4

However, if I run the same plan through BlueAPI there is no way to get the result.

This would really aide in moving small incremental jobs from GDA to Bluesky.

Acceptance Criteria

  • I can get the plan result from the client
  • The format for this in GDA is clean e.g. something like plan_result = run_plan(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions