fix(step-generation): only aspirate disposal volume in first chunk #17202
+8
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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