-
Notifications
You must be signed in to change notification settings - Fork 178
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
feat(api): add protocol api and engine support for absorbance plate reader #15266
Conversation
18945e6
to
4d43e40
Compare
4d43e40
to
0c7d7d8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## edge #15266 +/- ##
===========================================
+ Coverage 63.20% 81.48% +18.28%
===========================================
Files 287 118 -169
Lines 14891 4078 -10813
===========================================
- Hits 9412 3323 -6089
+ Misses 5479 755 -4724
Flags with carried forward coverage won't be shown. Click here to find out more. |
api/src/opentrons/hardware_control/modules/absorbance_reader.py
Outdated
Show resolved
Hide resolved
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 reviewed the hardware controller and protocol engine integration, that looks good to me.
As for the docs failing, I think you just have to add the AbsorbanceReaderContext
to the returns
list of module context in the load_module
docstring here.
api/src/opentrons/hardware_control/modules/absorbance_reader.py
Outdated
Show resolved
Hide resolved
MeasureAbsorbanceParams, SuccessData[MeasureAbsorbanceResult, None] | ||
] | ||
): | ||
"""Execution implementation of a Thermocycler's run profile command.""" |
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.
copypasta comment needs replacing
api/tests/opentrons/protocol_api/core/engine/test_absorbance_reader_core.py
Outdated
Show resolved
Hide resolved
api/tests/opentrons/protocol_engine/commands/test_load_module.py
Outdated
Show resolved
Hide resolved
api/tests/opentrons/protocol_engine/commands/test_load_module.py
Outdated
Show resolved
Hide resolved
shared-data/command/schemas/8.json
Outdated
"properties": { | ||
"moduleId": { | ||
"title": "Moduleid", | ||
"description": "Unique ID of the Thermocycler.", |
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 is pulled from the docstring in the protocol engine command, so it should be fixed there
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.
🍽️ 🔖
12cb466
to
acdf35b
Compare
protocol-designer/src/components/modals/CreateFileWizard/ModulesAndOtherTile.tsx
Outdated
Show resolved
Hide resolved
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.
PD stuff looks great! thanks for putting it behind the ff 😄
…eader (#15266) # Overview This PR adds protocol api and engine support for absorbance plate reader. Requires OE-core changes in Opentrons/oe-core#151
Overview
This PR adds protocol api and engine support for absorbance plate reader.
Requires OE-core changes in Opentrons/oe-core#151
Test Plan
Changelog
Backend changes:
AbsorbanceReaderCore
as a new module core in the protocol apidef initialize(wavelength: int):
to allow for reference wavelengthsdef initiate_read():
to actually get a 96 sample absorbance reading from the plate readerinitialize
andinitiate_read
Frontend changes:
Shared-data changes:
closes PLAT-336