-
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(app): lpc: fix command ordering in pick up tip #12590
Conversation
In LPC, when we picked up a tip that we'd actually use for the rest of LPC, we'd remove the tiprack labware before moving to the trash. This is incorrect - that labware is still physically present, since we haven't told the user to remove it. We used to get away with it, because it used to be that pick_up_tip ended with a z-home that got the pipette up high enough that even if PE thought the deck was empty we wouldn't collide. Now, though, on the Flex we removed that home because it is slow and we don't need it anymore, and if we tell PE that the tiprack disappeared and then tell it to move the pipette to the trash, it will just zip it straight over to the trash... dragging along that tiprack, which is still physically present. To fix this, just move to the trash before we remove the labware.
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.
🐬
Codecov Report
@@ Coverage Diff @@
## internal-release_0.5.0 #12590 +/- ##
==========================================================
- Coverage 73.59% 73.31% -0.29%
==========================================================
Files 2246 1506 -740
Lines 61830 49349 -12481
Branches 6480 2997 -3483
==========================================================
- Hits 45504 36180 -9324
+ Misses 14757 12713 -2044
+ Partials 1569 456 -1113
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Nice catch.
the api test failure is #12591 |
In LPC, when we picked up a tip that we'd actually use for the rest of LPC, we'd remove the tiprack labware before moving to the trash. This is incorrect - that labware is still physically present, since we haven't told the user to remove it. We used to get away with it, because it used to be that pick_up_tip ended with a z-home that got the pipette up high enough that even if PE thought the deck was empty we wouldn't collide.
Now, though, on the Flex we removed that home because it is slow and we don't need it anymore, and if we tell PE that the tiprack disappeared and then tell it to move the pipette to the trash, it will just zip it straight over to the trash... dragging along that tiprack, which is still physically present.
To fix this, just move to the trash before we remove the labware.
Risk assessment
Testing