Replies: 4 comments 6 replies
|
In the interest of upholding saas principles, 1. would be my preference. What do you have to do manually for 1. that 2. does automatically for you? We can provide library code to replace boilerplate. See use of |
2 replies
|
I think this discussion may make more sense in the blueapi repository? I would like us to provide some standard callbacks:
|
0 replies
|
By doing DiamondLightSource/blueapi#723 we are basically saying that the blueapi codebase is immutable in prod and dodal et al. are (potentially) mutable in prod. So which do we think those callbacks should live in? |
2 replies
|
presumably some callbacks will be specific to a given format - that hints they might need to live where the plans do |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
With just bluesky the callbacks are easy to use - it's unclear how to use them with blueapi.
So far the possible implementations would be:
event-modelevents and manually doing the logicFor 1 this deprives us of much of the core-bluesky developments which is good and bad as
best_effort_callback.pyhas a good runtime track record but the code is hard to read and contribute to.For 2 I have no idea how to do this, and how to render plots for instance.
Application of those is also for adaptive scans. If that is in a separate server, that'd need another adapter to work with the plan context.
I have committed some time last year towards exploring this question and made work towards number 2 but haven't made it feature complete.
All reactions