-
Notifications
You must be signed in to change notification settings - Fork 179
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
fix(hardware-testing): 96ch diagnostics tip presence polarity #14324
fix(hardware-testing): 96ch diagnostics tip presence polarity #14324
Conversation
@@ -82,14 +82,14 @@ async def run(api: OT3API, report: CSVReport, section: str) -> None: | |||
slot_5 = helpers_ot3.get_slot_calibration_square_position_ot3(5) | |||
home_pos = await api.gantry_position(OT3Mount.LEFT) | |||
await api.move_to(OT3Mount.LEFT, slot_5._replace(z=home_pos.z)) | |||
for expected_state in [False, True]: | |||
for expected_state in [True, False]: |
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.
Wait if you switch this order but also switch the else/if order below this doesn't really do anything right? You're still expecting it to be False
with no tips (but now that's second) and True
with tips (but now that's first)
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.
but actually, the responds of "get tip status" change, so the results will be different, I want to do the same action to keep the SOP same.
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 correct to me @sfoster1 . We are now first expecting True
, and when it is true that means there are no tips. The ordering of the if/else is arbitrary
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.
Oh. Right. Sorry
hardware-testing/hardware_testing/production_qc/ninety_six_assembly_qc_ot3/test_droplets.py
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.
Looks great to me!
@@ -82,14 +82,14 @@ async def run(api: OT3API, report: CSVReport, section: str) -> None: | |||
slot_5 = helpers_ot3.get_slot_calibration_square_position_ot3(5) | |||
home_pos = await api.gantry_position(OT3Mount.LEFT) | |||
await api.move_to(OT3Mount.LEFT, slot_5._replace(z=home_pos.z)) | |||
for expected_state in [False, True]: | |||
for expected_state in [True, False]: |
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.
Oh. Right. Sorry
Overview
Polarity when reading 96ch tip-presence sensor was switched at some point, and so the production script must also switch to match it.
Test Plan
Changelog
Review requests
Risk assessment