-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move plans and stubs from BlueAPI repository #3
Conversation
DiamondJoseph
commented
Aug 24, 2023
- Make packages for plans, stubs, tasks with doc strings
- History preserved
* Workaround scanspec serialization issue wtih non-string axes
* Add scan shape to metadata * Fix formatting
… is resolved Resolves #50
* Fix typos in comments/logging * Rename send_and_recieve method to send_and_receive
…an_nd implementation (#294) - Remove fields of metadata duplicated by scan_nd (detectors) - Override incorrect values of metadata set by scan_nd (plan_name, plan_args) - Provide metadata that is available to our implementation but not necessarily for scan_nd (shape) - Rename metadata kwarg to match with Bluesky plans
a2b48de
to
805de2d
Compare
|
||
Plans must adhere to BlueAPI's requirements: | ||
- All arguments type hinted | ||
- Metadata dict named 'metadata' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we definitely want this as a hard requirement? If so, there should be some clever test to make sure it's followed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests for the easily automated requirements added
Codecov Report
@@ Coverage Diff @@
## main #3 +/- ##
=======================================
Coverage ? 87.01%
=======================================
Files ? 9
Lines ? 77
Branches ? 0
=======================================
Hits ? 67
Misses ? 10
Partials ? 0 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
3811de9
to
66c7424
Compare
- Enforce mypy on untyped functions - Add documentation to packages explaining the functionality and requirements of plans, stubs - Use __export__ to explicitly export "standalone" stubs - Add tests to check compliance of plans, stubs to requirements - Ensure loop for 3.10 Future
66c7424
to
2cb5e9b
Compare