bluesky.plan_stubs.close_run

bluesky.plan_stubs.close_run(exit_status=None, reason=None)[source]

Mark the end of the current ‘run’. Emit a RunStop document.

Yields
msgMsg

Msg(‘close_run’)

exit_status{None, ‘success’, ‘abort’, ‘fail’}

The exit status to report in the Stop document

reasonstr, optional

Long-form description of why the run ended

See also

bluesky.plans_stubs.open_run()