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

feat(app): add inPlace and moveToAddressableArea command text #13958

Merged
merged 22 commits into from
Nov 13, 2023

Conversation

ncdiehl11
Copy link
Collaborator

@ncdiehl11 ncdiehl11 commented Nov 9, 2023

closes RAUT-851

Overview

Adds new command text for in place commands and moveToAddressableArea

Test Plan

  • write tests to verify that all above commands return the correct text

Changelog

  • add command text to translation file
  • expand PipettingCommandText to include dropTipInPlace, blowOutInPlace, and dispenseInPlace commands
  • refactor moveToWell command text to index file (not an instance of PipettingRunTimeCommand)
  • add moveToAddressableArea text handling to index file
  • write tests

Risk assessment

low

@ncdiehl11 ncdiehl11 requested a review from a team as a code owner November 9, 2023 17:35
@ncdiehl11 ncdiehl11 requested a review from a team November 9, 2023 17:35
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner November 9, 2023 17:35
@ncdiehl11 ncdiehl11 requested review from shlokamin and removed request for a team November 9, 2023 17:35
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #13958 (c029ad3) into edge (1d13c67) will decrease coverage by 0.17%.
Report is 22 commits behind head on edge.
The diff coverage is 93.33%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #13958      +/-   ##
==========================================
- Coverage   70.65%   70.48%   -0.17%     
==========================================
  Files        2482     2510      +28     
  Lines       71432    71788     +356     
  Branches     9320     9122     -198     
==========================================
+ Hits        50468    50603     +135     
- Misses      18815    18969     +154     
- Partials     2149     2216      +67     
Flag Coverage Δ
app 67.45% <93.33%> (-0.58%) ⬇️
protocol-designer 45.62% <ø> (ø)
step-generation 84.92% <ø> (-1.63%) ⬇️

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

Files Coverage Δ
...src/organisms/CommandText/PipettingCommandText.tsx 89.28% <100.00%> (+8.33%) ⬆️
app/src/organisms/CommandText/index.tsx 84.21% <87.50%> (+0.11%) ⬆️

... and 384 files with indirect coverage changes

@ncdiehl11 ncdiehl11 changed the title feat(app): add inplace command text feat(app): add inPlace and moveToAddressableArea command text Nov 9, 2023
@ncdiehl11 ncdiehl11 requested a review from jerader November 9, 2023 17:45
Copy link
Collaborator

@jerader jerader 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! tests look great. Just left a few clean up comments.

shared-data/command/types/pipetting.ts Outdated Show resolved Hide resolved
app/src/organisms/CommandText/PipettingCommandText.tsx Outdated Show resolved Hide resolved
app/src/organisms/CommandText/PipettingCommandText.tsx Outdated Show resolved Hide resolved
app/src/organisms/CommandText/PipettingCommandText.tsx Outdated Show resolved Hide resolved
@ncdiehl11 ncdiehl11 requested a review from jerader November 9, 2023 20:29
Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

Lets either undo the change to PipettingRunTimeCommand or expand the pattern to PipettingCreateCommand. After that, this lgtm!

@ncdiehl11 ncdiehl11 merged commit e83ce50 into edge Nov 13, 2023
27 checks passed
@ncdiehl11 ncdiehl11 deleted the feat_app-add-inplace-command-text branch November 13, 2023 15:20
ncdiehl11 added a commit that referenced this pull request Nov 14, 2023
closes RAUT-851

Generate different commands from dropping tips in other locations if we select the waste chute as our drop tip location. For the waste chute, we generate moveToAddressableArea followed by dropTipInPlace commands.
ahiuchingau pushed a commit that referenced this pull request Nov 15, 2023
closes RAUT-851

Generate different commands from dropping tips in other locations if we select the waste chute as our drop tip location. For the waste chute, we generate moveToAddressableArea followed by dropTipInPlace commands.
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