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(protocol-designer): reset the touchTip checkbox when labware changes #15407

Merged
merged 6 commits into from
Jun 13, 2024

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Jun 13, 2024

closes RESC-273

Overview

This is an interested bug. Basically, a user selected a labware where touch tip is allowed and checked the touch tip box. Then the user changed the labware to one where touch tip is not allowed. The touch tip check box was disabled but not actually de-selected. This resulted in an unwanted erroneous touchTip command to be generated in step-generation.

The fix is not super straightforward though. What I changed here is when the aspirate, dispense, or mix labware changes, the touch tip checkbox field is reset. This fix is fine however if a protocol is already experiencing this error, it will not be automatically fixed upon importing their protocol.

The more involved fix (simply code-wise but has big implications) would be ensuring that a touch tip command is only generated if the touch tip checkbox is selected AND there is a height is selected. But that would mean changing the current behavior of PD which I do not think is a good idea.

Test Plan

Upload the attached file to protocol designer in production. Navigate to the 15th step in the timeline (which is a transfer step) and open the advanced settings. change the dispense labware to Amplicon PCR see that the touch tip field is selected.

Now, upload the same file to protocol designer on this branch, navigate to the timeline, open the 15th step again. Open up the advanced settings and change the dispense labware to Amplicon PCR . See that the touch tip field is NOT selected. (this is because the setting has been properly reset).

16S Metagenomik Amplicon PCR Clean-Up (manuelle beads zugabe) Optimiert_10-06-2024.json

Changelog

  • reset both the moveLiquid and mix forms touch tip checkbox fields if labware changes

Review requests

see test plan

Risk assessment

low

@jerader jerader requested a review from a team as a code owner June 13, 2024 15:53
@jerader jerader requested review from koji, SyntaxColoring and ncdiehl11 and removed request for a team June 13, 2024 15:54
@koji
Copy link
Contributor

koji commented Jun 13, 2024

@jerader

Upload the attached file to protocol designer in production.

you mean the protocol Matthew attached to the ticket?

@jerader
Copy link
Collaborator Author

jerader commented Jun 13, 2024

you mean the protocol Matthew attached to the ticket?

@koji oops yes my bad! I just attached it here too.

Copy link
Contributor

@koji koji left a comment

Choose a reason for hiding this comment

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

the changes match what you mentioned in overview.
sandbox worked as expected.

@jerader jerader merged commit 47394c1 into chore_release-pd-8.1.0 Jun 13, 2024
14 checks passed
@jerader jerader deleted the pd_reset-touch-tip-fields branch June 13, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants