Skip to content

fix(components): display correct wells for tip pick up in all nozzle configurations - #21246

Merged
jerader merged 5 commits into
edgefrom
AUTH-2223
May 5, 2026
Merged

fix(components): display correct wells for tip pick up in all nozzle configurations#21246
jerader merged 5 commits into
edgefrom
AUTH-2223

Conversation

@rclarke0

@rclarke0 rclarke0 commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Overview

Correctly display tips being picked up for all nozzle configurations

Test Plan and Hands on Testing

  • smoke tested on the app to ensure the step says accessing tips "A1 - A12"
Screenshot 2026-04-09 at 5 38 34 PM

Changelog

  • added additional case for when there are 12 active nozzles
  • added additional case for when there are partial 8ch active nozzles

Review requests

none

Risk assessment

  • low cosmetic change

closes AUTH-2223

@rclarke0
rclarke0 requested a review from a team as a code owner April 9, 2026 21:47
@rclarke0
rclarke0 requested review from SyntaxColoring and jerader and removed request for a team April 9, 2026 21:47
@codecov

codecov Bot commented Apr 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 48.57143% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.81%. Comparing base (1c17900) to head (3eeea28).
⚠️ Report is 137 commits behind head on edge.

Files with missing lines Patch % Lines
...andText/useCommandTextString/utils/getWellRange.ts 48.57% 18 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #21246      +/-   ##
==========================================
- Coverage   57.20%   48.81%   -8.39%     
==========================================
  Files        3987     3862     -125     
  Lines      326739   328324    +1585     
  Branches    46475    58714   +12239     
==========================================
- Hits       186908   160286   -26622     
- Misses     139612   167640   +28028     
- Partials      219      398     +179     
Flag Coverage Δ
app 45.13% <40.00%> (+0.19%) ⬆️
protocol-designer 39.85% <0.00%> (+19.91%) ⬆️
step-generation 60.47% <ø> (+54.66%) ⬆️

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

Files with missing lines Coverage Δ
shared-data/command/types/setup.ts 100.00% <ø> (ø)
...andText/useCommandTextString/utils/getWellRange.ts 66.17% <48.57%> (+20.52%) ⬆️

... and 1618 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rclarke0 rclarke0 changed the title fix(components): display correct wells for tip pick up in ROW configuration fix(components): display correct wells for tip pick up in all nozzle configurations Apr 10, 2026
@rclarke0
rclarke0 requested a review from a team as a code owner April 10, 2026 17:16
@rclarke0
rclarke0 requested a review from CaseyBatten April 17, 2026 18:22
const column = wellName.substring(1)
return `A${column} - H${column}`

switch (true) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why did you make this a switch statement? i find it a bit harder to read with it.

* @param wellName the target well for pickup tip
* @returns WellRange string of wells pipette will pickup tips from
*/
export function getWellRange(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

it would be a bit helpful to add some unit tests for each of these well ranges, if you have time

@jerader jerader left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice! just left a few questions. would be great to add a bit of unit test coverage

@jerader
jerader merged commit 6ba221f into edge May 5, 2026
131 of 133 checks passed
@jerader
jerader deleted the AUTH-2223 branch May 5, 2026 13:50
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