Repository navigation
Use bluesky scan plans directly - #2289
oliwenmandiamond wants to merge 20 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
This assumes bluesky/bluesky#2124 is merged and new release is done for bluesky, but please review and give feedback while we wait for that |
|
Without looking at the diff
This sounds a lot like several PRs. While a lot of the lines in the diff are from lock files and rearranging modules, if there are also changes to the moved lines it really helps to do it in multiple steps. |
That is fair, I will try and break this down into multiple PR's then
|
Fixes DiamondLightSource/sm-bluesky#475. Please note the change is about +800 lines / - 1600 lines. The lock file change of adding blueapi dev dependency makes the change look larger than it is.
Update dodal to use the bluesky scan plans directly. Blueapi now supports using the scan plans as they are now strongly typed, supports args kwargs, and doesn't throw error on unserialisable fields such as per step and per shot.
Scan plans are moved to their own folder and grouped appropriately to improve readability and more modular.
This wraps the bluesky plans to strip reference to the per step and per shot from the arguments and doc string as users cannot use it and will only confuse them.
I have refactored the step scans to be line with the bluesky plan style and simple to use for a user.
Small and simple blueapi integration tests also added.
Disclaimer: This has been assisted by AI.
Instructions to reviewer on how to test:
Checks for reviewer
dodal connect ${BEAMLINE}