Skip to content
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(step-generation): only aspirate disposal volume in first chunk #17202

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Jan 7, 2025

closes RQA-3807

Overview

This is not a regression and the bug has existed at least since 8.1.0. It is regarding the disposal volume for distribute steps.

Background info: The disposal volume is the volume left over at the end of a distribute sequence that gets disposed of when you drop your tip. We recommend users to add a disposal volume and select it by default. But they can choose not to add a disposal volume if they please. Typically what happens is a user will make a distribute, use the default disposal volume and use the default tip handling option of "Before every aspirate".

The bug: Alex has a protocol made by a customer where they have a distribute over 34 wells with p20 tip and 4ul per well and 1ul for the disposal volume. they also changed tip handling to occur "once at the start of the step" and no blow out location. The protocol errors not in PD but when uploading to the app because eventually the tip can't handle the amount of liquid it needs to aspirate. This happens because since the user selected to change their tip "once at the start of the step" with no blow out, PD never removes that 1uL of disposal volume and instead keeps adding more with every aspirate.

The fix: to fix this, I modified step-generation so that it only aspirates the disposal volume during the first chunk if the change tip is set to "once at the start of the step" and the blowout location is null. That way it doesn't keep adding more and more disposal volume to the tip and overloading it if there is no space

Test Plan and Hands on Testing

Upload the attached protocol into the app, see that it fails analysis. Then upload it into PD and export and upload that new json file into the app and see that it passes analysis.

qPCR BioRAD 384-12 samples-16 gene fixy Fixy.json

Changelog

only add disposal volume to aspirate for the first chunk

Risk assessment

low-ish/med-ish

@jerader jerader requested a review from a team as a code owner January 7, 2025 19:37
@jerader jerader requested review from koji and ncdiehl11 January 7, 2025 19:51
@jerader jerader changed the title fix(step-generation): only aspirate disposal volume to first chunk fix(step-generation): only aspirate disposal volume in first chunk Jan 7, 2025
Copy link
Collaborator

@ncdiehl11 ncdiehl11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct to me. I just want to confirm that with this fix, the example presented before should yield the following commands:

chunk 1:

  • aspirate (wells per chunk) * (volume per well) + disposal volume
  • dispense (volume per well) into each chunk well (disposal volume remains after full chunk dispense)
  • repeat previous 2 steps for remaining chunks
  • dispose remaining volume in specified location

I am surprised this bug slipped through for so long— thank you for fixing! I inspected the commands from the example supplied, and they look correct.

@jerader
Copy link
Collaborator Author

jerader commented Jan 8, 2025

This looks correct to me. I just want to confirm that with this fix, the example presented before should yield the following commands:

chunk 1:

  • aspirate (wells per chunk) * (volume per well) + disposal volume
  • dispense (volume per well) into each chunk well (disposal volume remains after full chunk dispense)
  • repeat previous 2 steps for remaining chunks
  • dispose remaining volume in specified location

I am surprised this bug slipped through for so long— thank you for fixing! I inspected the commands from the example supplied, and they look correct.

@ncdiehl11 - yup that sequence is correct! thanks for checking

@jerader jerader merged commit 9e0d3cb into edge Jan 8, 2025
20 checks passed
@jerader jerader deleted the sg_disposal-volume branch January 8, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants