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): moveLabware command text support for waste chute #14153

Merged

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Dec 8, 2023

closes RQA-2037

Overview

Add waste chute support in run log for moving labware into the waste chute

Test Plan

Test with the protocol attached to the ticket! Look at the run log and see that the command text for moving labware into waste chute is correct

Changelog

  • expand logic in moveLabwareCommandText and add test coverage

Review requests

see test plan

Risk assessment

low

@jerader jerader requested a review from a team as a code owner December 8, 2023 18:01
@jerader jerader requested review from koji and a team and removed request for a team December 8, 2023 18:01
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #14153 (8618d8b) into chore_release-7.1.0 (faf7b51) will decrease coverage by 0.02%.
Report is 3 commits behind head on chore_release-7.1.0.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@                   Coverage Diff                   @@
##           chore_release-7.1.0   #14153      +/-   ##
=======================================================
- Coverage                70.44%   70.42%   -0.02%     
=======================================================
  Files                     2512     1636     -876     
  Lines                    71224    54507   -16717     
  Branches                  8972     4024    -4948     
=======================================================
- Hits                     50173    38388   -11785     
+ Misses                   18857    15423    -3434     
+ Partials                  2194      696    -1498     
Flag Coverage Δ
app 38.62% <ø> (-29.01%) ⬇️

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

see 876 files with indirect coverage changes

Comment on lines 2 to 7
import {
CompletedProtocolAnalysis,
MoveLabwareRunTimeCommand,
RobotType,
} from '@opentrons/shared-data/'
GRIPPER_WASTE_CHUTE_ADDRESSABLE_AREA,
} from '@opentrons/shared-data'
Copy link
Contributor

@koji koji Dec 8, 2023

Choose a reason for hiding this comment

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

I think these are types so probably getting back type and moving them down would be better.
Then import GRIPPER_WASTE_CHUTE_ADDRESSABLE_AREA separately.

} from '@opentrons/shared-data'
import { i18n } from '../../../i18n'
import { CommandText } from '../'
import { mockRobotSideAnalysis } from '../__fixtures__'

import type {
AspirateInPlaceRunTimeCommand,
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

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.

Unfortunately, I cannot run a protocol due to robot-server's limitations, but the changes make sense to me.
The comment is a very small thing.

@jerader jerader merged commit 8869fa1 into chore_release-7.1.0 Dec 8, 2023
22 checks passed
@jerader jerader deleted the app_command-text-move-labware-into-waste branch December 8, 2023 21:10
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