File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ from bluesky .plans import count
2+ from dodal .beamlines .b01_1 import mako as _mako
3+ from dodal .beamlines .b01_1 import manta as _manta
4+ from dodal .common .beamlines .beamline_utils import get_path_provider
5+ from dodal .plan_stubs .data_session import attach_data_session_metadata_decorator
6+
7+
8+ @attach_data_session_metadata_decorator (get_path_provider ())
9+ def snapshot ():
10+ """Capture one image on mako + manta and write file to commissioning directory."""
11+ manta = _manta (connect_immediately = True )
12+ mako = _mako (connect_immediately = True )
13+ yield from count ([manta , mako ])
Original file line number Diff line number Diff line change 1+ from bluesky .run_engine import RunEngine
2+
3+ from test_rig_bluesky .plans import snapshot
4+
5+ RE = RunEngine ()
6+ RE (snapshot ())
You can’t perform that action at this time.
0 commit comments