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

refactor(protocol-designer): nicknames now properly import #14521

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Feb 16, 2024

closes RQA-2358, RQA-1927

Overview

This bug has been reported by Support numerous times so it is a high priority bug to get in with the next PD release. Looking into it, its definitely a bug I introduced 7 months ago by accidentally listing the container info via the labware's loadname instead of the labware Id. Oops.

Test Plan

Create a protocol either flex or ot-2. When adding a labware, add a nickname. Also add duplicate tipracks. Add a command that uses the trash. Export. Import the protocol, see that the nicknames on the labware and the tiprack (the numbering at the end of the tiprack) are preserved.

Changelog

  • fix the reducer to list the containers via the labware Id instead of the loadname

Review requests

see test plan

Risk assessment

low

@jerader jerader requested a review from a team February 16, 2024 20:47
Copy link

codecov bot commented Feb 16, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (cb0d4e6) 67.81% compared to head (ace61a9) 67.80%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #14521      +/-   ##
==========================================
- Coverage   67.81%   67.80%   -0.01%     
==========================================
  Files        2518     2518              
  Lines       72108    72111       +3     
  Branches     9274     9276       +2     
==========================================
  Hits        48898    48898              
- Misses      20995    20998       +3     
  Partials     2215     2215              
Flag Coverage Δ
protocol-designer 37.92% <0.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...ocol-designer/src/labware-ingred/reducers/index.ts 21.51% <0.00%> (-0.85%) ⬇️

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.

tested and the sandbox worked as expected.

  • numbers were displayed
  • nick names were displayed on Desktop app

@jerader jerader merged commit 7fe1aee into edge Feb 20, 2024
15 of 16 checks passed
@jerader jerader deleted the pd_fix-labware-nickname-bug branch February 20, 2024 13:23
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.

2 participants