-
Notifications
You must be signed in to change notification settings - Fork 176
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
refactor(hardware control): start liquid probe 2mm higher, refactor z moves #15564
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## edge #15564 +/- ##
===========================================
+ Coverage 60.43% 92.43% +32.00%
===========================================
Files 154 77 -77
Lines 12119 1283 -10836
===========================================
- Hits 7324 1186 -6138
+ Misses 4795 97 -4698
Flags with carried forward coverage won't be shown. Click here to find out more. |
A PR has been opened to address analyses snapshot changes. Please review the changes here: #15565 |
FYI this change is in edge so if you merge in edge this test will pass 😊 |
148900d
to
7a95149
Compare
ff047f2
to
905249c
Compare
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.
Couple little things but looking good overall
if probe_settings.aspirate_while_sensing: | ||
await self._move_to_plunger_bottom(checked_mount, rate=1.0) | ||
await self._move_to_plunger_bottom(checked_mount, rate=p_prep_speed) |
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 still need this switch to flip? would it actually work if we flipped it at this point?
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.
Should still work, don't know if we want the ability to use it in the future or not
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.
can we add a TODO to remove it at some point
hardware/tests/opentrons_hardware/hardware_control/test_tool_sensors.py
Outdated
Show resolved
Hide resolved
905249c
to
dcf502a
Compare
dcf502a
to
2aa36f0
Compare
cc12554
to
1f58a8a
Compare
1f58a8a
to
cc12554
Compare
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.
Looks good, please make sure the eventual commit message has a more in-depth description that mentions the change to specifying moves by the plunger distance though
if probe_settings.aspirate_while_sensing: | ||
await self._move_to_plunger_bottom(checked_mount, rate=1.0) | ||
await self._move_to_plunger_bottom(checked_mount, rate=p_prep_speed) |
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.
can we add a TODO to remove it at some point
… moves (#15564) Refactors liquid_probe- z distances for each pass are now calculated using appropriate plunger distance for the given pipette model/tip combination
Overview
Quick refactor for liquid probe. This just breaks up the main function a little bit in
ot3api
to keep readability, and takes moves that aren't directly related to the liquid probing movement out oftool_sensors
to keep that modular.Changelog
tool_sensors
, and move it to ot3apiliquid_settings.probe_start_position
, move 2mm up from wherever the pipette is at the time of the call