-
Notifications
You must be signed in to change notification settings - Fork 187
refactor(step-generation, shared-data): use set_stored_labware_items and fill_items #20293
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
base: edge
Are you sure you want to change the base?
Changes from all commits
ec1148c
d9202ee
dcf39d3
b415afd
3016590
4ebfc7a
ee0ffa3
af989af
ccba87b
2cf4e98
fc6bb8e
a8a3e8f
41ad469
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ import { | |
| WATER_LIQUID_CLASS_NAME, | ||
| } from '@opentrons/shared-data' | ||
|
|
||
| import { HOPPER_STACKER_LOCATION } from '../constants' | ||
| import { | ||
| formatChangeTipArg, | ||
| formatPyStr, | ||
|
|
@@ -440,7 +441,6 @@ well_plate_3 = protocol.load_labware_from_definition( | |
| }, | ||
| } | ||
| const mockLabwareEntitiesWithFlexStackerLabware = { | ||
| ...mockLabwareEntities, | ||
| [flexStackerLabwareId]: { | ||
| id: flexStackerLabwareId, | ||
| labwareDefURI: 'opentrons/fixture_96_plate/1', | ||
|
|
@@ -450,10 +450,8 @@ well_plate_3 = protocol.load_labware_from_definition( | |
| } | ||
|
|
||
| const mockLabwareRobotStateWithFlexStackerLabware = { | ||
| ...labwareRobotState, | ||
| [flexStackerLabwareId]: { | ||
| ...labwareRobotState[labwareId6], | ||
| stack: [flexStackerLabwareId, moduleId4, 'A4'], | ||
| stack: [flexStackerLabwareId, HOPPER_STACKER_LOCATION, moduleId4, 'A4'], | ||
| }, | ||
| } | ||
|
|
||
|
|
@@ -465,11 +463,9 @@ well_plate_3 = protocol.load_labware_from_definition( | |
|
|
||
| expect(setStoredLabware).toBe( | ||
| `# Set Stored Labware: | ||
| flex_stacker_1 = protocol.set_stored_labware( | ||
| loadName="fixture_96_plate", | ||
| namespace="opentrons", | ||
| version=1, | ||
| count=1)`.trimStart() | ||
| flex_stacker_1.set_stored_labware_items( | ||
| labware=[well_plate_4], | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Out of curiosity: Is the PD UI not going to ask the user for a string so that the user has something to look at when the ODD prompts them to fill the hopper? (The
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ooooh this is an option, yes. i'll add the message arg |
||
| )`.trimStart() | ||
| ) | ||
| }) | ||
| }) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!