-
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
bug: Inappropriate disposal or air_gap volume causes hang in transfers.py #6170
Labels
api
Affects the `api` project
bug
robot-svcs
Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
Comments
Thanks for submitting this issue and example code @tanaes we will look into it further. |
SyntaxColoring
changed the title
bug: Inappropriate disposal volume causes hang in transfers.py
bug: Inappropriate disposal or air_gap volume causes hang in transfers.py
Oct 10, 2020
Working on this now! More broadly, this happens if pipette_right.distribute(10,
reagents['A1'],
samples.wells(),
disposal_volume=5,
air_gap=5,
new_tip='once') |
SyntaxColoring
added
the
robot-svcs
Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
label
Oct 22, 2020
This got fixed in PR #13659. The minimal example protocol now prints:
Thank you again for this report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api
Affects the `api` project
bug
robot-svcs
Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
Overview
Accidentally including an inappropriate disposal volume (disposal_volume=pipette_volume) causes a hang in transfers. This leads to infinite simulation times and difficulty troubleshooting.
It appears to be due to bad assumptions in this
while
statement intransfers.py
:opentrons/api/src/opentrons/protocol_api/transfers.py
Lines 564 to 569 in ee1b504
I'm not familiar with the code base, but it seems like you want to handle the case where the summed value exceeds
self._max_volume
.Steps to reproduce
Minimal example protocol:
Out from kernel interrupt:
Current behavior
Simulation runs indefinitely.
Expected behavior
Simulation errors.
The text was updated successfully, but these errors were encountered: