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): moveLabware newLocation error accounts for cu… #14917

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Apr 16, 2024

…stom labware

closes RESC-243 and RQA-2573

Overview

Fixes bug outlined in escalations ticket, basically you couldn't move labware onto a module if its a custom labware

Test Plan

Create an ot-2 protocol and add either a gen1 or gen2 magnetic module. upload the ticket's attached custom labware and place it on the deck. Create a move labware step and move the custom labware onto the magnetic module. it should not error.

Changelog

  • check if the labware definition is standard or not and if it is not, assume its a custom labware and don't return an error string
  • remove comment that makes no sense now lol

Review requests

see test plan

Risk assessment

low

@jerader jerader requested a review from a team as a code owner April 16, 2024 16:16
@jerader jerader requested review from koji, ncdiehl11 and a team and removed request for a team April 16, 2024 16:16
Comment on lines -14 to -15
// TODO(Jr, 1/16/24): look into the use case of this util since the i18n strings
// previously listed in this util were not found in any json.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no idea why i made this comment in january because this util is used for error handling in moveLabwareForm lol

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 sandbox worked as expected.
the changes look good to me.

@jerader jerader merged commit 59d4cc6 into edge Apr 16, 2024
20 checks passed
@jerader jerader deleted the pd_fix-custom-labware-move-labware branch April 16, 2024 17:03
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