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(app): handle detaching 96 when attaching right #16174

Conversation

sfoster1
Copy link
Member

@sfoster1 sfoster1 commented Aug 30, 2024

When we're switching pipettes from a preprotocol flow, we were not
properly handling the case where a 96 is attached and we want to take it
off and attach a pipette to the right mount. Add handling for that.

I'm not really sure how this survived so long because it sure seems like it's always been there.

When reviewing, go commit by commit to see the flow of refactors. Also the logic table looks awful in the diff view unless you make your screen really wide but it's fine if you're just looking at the file

testing

  • if you have a 96 channel attached, and you set up a protocol with a multi or single on the right mount, does the flow for detaching the 96 and attaching the right mount pipette go correctly

Closes RQA-3123

Get the steps payload separate from the logic that decides which
payload to return so we have a human hope of comprehending said logic
This table illustrates the reason behind the issue to solve in the next
commit, renames a function since it had a bad name, and will serve as
docs for later use.
When we're switching pipettes from a preprotocol flow, we were not
properly handling the case where a 96 is attached and we want to take it
off and attach a pipette to the right mount. Add handling for that.

Closes RQA-3123
@sfoster1 sfoster1 requested a review from a team as a code owner August 30, 2024 14:49
@sfoster1 sfoster1 requested review from jerader, mjhuff and caila-marashaj and removed request for a team August 30, 2024 14:49
Copy link
Contributor

@caila-marashaj caila-marashaj left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Contributor

@mjhuff mjhuff left a comment

Choose a reason for hiding this comment

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

Ok, looking through how this interacts with the flows as a whole, I think we're ok.

not really sure how this survived so long because it sure seems like it's always been there.

Yeah, that surprises me too.

Tagging @smb2268 for her thoughts if any, since she's most familar with 96 flows.

I don't know why this would stop working now, but something we did makes
the right mount move faster than the left mount when we're moving to the
maintenance position to detach the 96 mount plate, so it trips over its
own feet.
@sfoster1 sfoster1 requested a review from a team as a code owner August 30, 2024 16:10
@sfoster1
Copy link
Member Author

Ok, looking through how this interacts with the flows as a whole, I think we're ok.

not really sure how this survived so long because it sure seems like it's always been there.

Yeah, that surprises me too.

Tagging @smb2268 for her thoughts if any, since she's most familar with 96 flows.

the only change should be (and is based on tests) that the case where there's a 96 attached and you want to have a single-mount, you get the detach-96-first flow instead of the from-empty-mount flow

@sfoster1 sfoster1 merged commit 933175f into chore_release-8.0.0 Aug 30, 2024
26 of 29 checks passed
@sfoster1 sfoster1 deleted the rqa-3123-handle-right-mount-attach-when-96-present branch August 30, 2024 17:02
sfoster1 added a commit that referenced this pull request Sep 3, 2024
sfoster1 added a commit that referenced this pull request Sep 3, 2024
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.

3 participants