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 |
Beta Was this translation helpful? Give feedback.
-
I think this discussion may make more sense in the blueapi repository? I would like us to provide some standard callbacks:
|
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
presumably some callbacks will be specific to a given format - that hints they might need to live where the plans do |
Beta Was this translation helpful? Give feedback.
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-model
events 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.py
has 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.
Beta Was this translation helpful? Give feedback.
All reactions