Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
949 make ophyd devices for the diagonstics for i10 #960
base: main
Are you sure you want to change the base?
949 make ophyd devices for the diagonstics for i10 #960
Changes from all commits
f01a357
d18fdcc
bdc36ff
dd9628f
cf20221
e3fb382
f371e08
2c284f0
94d141b
8bc02b6
cbe51b3
d56d674
244fbec
3ed4a5e
b2846f6
34f1a5d
d44c158
670768a
834ccc3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 100 in src/dodal/devices/i10/diagnostics.py
src/dodal/devices/i10/diagnostics.py#L99-L100
Check warning on line 102 in src/dodal/devices/i10/diagnostics.py
src/dodal/devices/i10/diagnostics.py#L102
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.
I would like @coretl's opinion on this approach, whether we should make a configurable "super detector" in ophyd-async or accept variations like these
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.
This should be rolled into ophyd-async AravisDetector. Since bluesky/ophyd-async#606 this should now be possible. We pass
stats
as a plugin to the init. I'm unsure why the datatype change was needed.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.
The issue for datatype is without changing it I with get the follow error as datatype is strict enum
drv: NotConnected: data_type: TypeError: BL10I-DI-PHDGN-01:DCAM:CAM:DataType_RBV has choices ('UInt8', 'UInt16'), but <enum 'ADBaseDataType'> requested ['Int8', 'UInt8', 'Int16', 'UInt16', 'Int32', 'UInt32', 'Int64', 'UInt64', 'Float32', 'Float64'] to be strictly equal to them.