diff --git a/protocol-designer/src/components/modals/CreateFileWizard/PipetteTypeTile.tsx b/protocol-designer/src/components/modals/CreateFileWizard/PipetteTypeTile.tsx index f08d7338d7d..7b9f1135f2d 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/PipetteTypeTile.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/PipetteTypeTile.tsx @@ -46,7 +46,7 @@ export function FirstPipetteTypeTile( mount={mount} allowNoPipette={false} display96Channel={allow96Channel} - tileHeader={i18n.t('modal.create_file_wizard.choose_first_pipette')} + tileHeader={i18n.t('modal.create_file_wizard.choose_left_pipette')} /> ) } @@ -66,7 +66,7 @@ export function SecondPipetteTypeTile( mount={RIGHT} allowNoPipette display96Channel={false} - tileHeader={i18n.t('modal.create_file_wizard.choose_second_pipette')} + tileHeader={i18n.t('modal.create_file_wizard.choose_right_pipette')} /> ) } diff --git a/protocol-designer/src/components/modals/CreateFileWizard/index.tsx b/protocol-designer/src/components/modals/CreateFileWizard/index.tsx index da77d891ae2..a29791d787d 100644 --- a/protocol-designer/src/components/modals/CreateFileWizard/index.tsx +++ b/protocol-designer/src/components/modals/CreateFileWizard/index.tsx @@ -263,9 +263,15 @@ export function CreateFileWizard(): JSX.Element | null { const newTiprackModels: string[] = uniq( pipettes.map(pipette => pipette.tiprackDefURI) ) - newTiprackModels.forEach(tiprackDefURI => { + newTiprackModels.forEach((tiprackDefURI, index) => { + const ot2Slots = index === 0 ? '2' : '5' + const flexSlots = index === 0 ? 'C2' : 'B2' dispatch( labwareIngredActions.createContainer({ + slot: + values.fields.robotType === FLEX_ROBOT_TYPE + ? flexSlots + : ot2Slots, labwareDefURI: tiprackDefURI, adapterUnderLabwareDefURI: values.pipettesByMount.left.pipetteName === 'p1000_96' diff --git a/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditModulesModal.test.tsx b/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditModulesModal.test.tsx index 056a1c770cd..3dec6386db7 100644 --- a/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditModulesModal.test.tsx +++ b/protocol-designer/src/components/modals/EditModulesModal/__tests__/EditModulesModal.test.tsx @@ -162,7 +162,7 @@ describe('Edit Modules Modal', () => { getLabwareIsCompatibleMock.mockReturnValue(false) const wrapper = render(props) expect(wrapper.find(SlotDropdown).childAt(0).prop('error')).toMatch( - 'Slot 1 is occupied. Clear the slot to continue.' + 'Slot 1 is occupied. Navigate to the design tab and remove the labware or remove the additional item to continue.' ) }) @@ -171,7 +171,7 @@ describe('Edit Modules Modal', () => { getSlotIdsBlockedBySpanningMock.mockReturnValue(['1']) // 1 is default slot const wrapper = render(props) expect(wrapper.find(SlotDropdown).childAt(0).prop('error')).toMatch( - 'Slot 1 is occupied. Clear the slot to continue.' + 'Slot 1 is occupied. Navigate to the design tab and remove the labware or remove the additional item to continue.' ) }) diff --git a/protocol-designer/src/localization/en/alert.json b/protocol-designer/src/localization/en/alert.json index d4412ea07a8..1b87395838b 100644 --- a/protocol-designer/src/localization/en/alert.json +++ b/protocol-designer/src/localization/en/alert.json @@ -197,7 +197,7 @@ "module_placement": { "SLOT_OCCUPIED": { "title": "Cannot place module", - "body": "Slot {{selectedSlot}} is occupied. Clear the slot to continue." + "body": "Slot {{selectedSlot}} is occupied. Navigate to the design tab and remove the labware or remove the additional item to continue." }, "HEATER_SHAKER_ADJACENT_LABWARE_TOO_TALL": { "title": "Cannot place module", diff --git a/protocol-designer/src/localization/en/modal.json b/protocol-designer/src/localization/en/modal.json index db60f68231c..81a9239a4d0 100644 --- a/protocol-designer/src/localization/en/modal.json +++ b/protocol-designer/src/localization/en/modal.json @@ -70,26 +70,26 @@ } }, "create_file_wizard": { - "choose_additional_items": "Choose additional items", "add_optional_info": "Add more information, if you like (you can change this later).", + "choose_additional_items": "Choose additional items", "choose_at_least_one_tip_rack": "Choose at least one tiprack for this pipette", - "choose_first_pipette": "Choose first pipette", - "choose_second_pipette": "Choose second pipette", + "choose_left_pipette": "Choose left pipette", + "choose_right_pipette": "Choose right pipette", "choose_robot_type": "Choose robot type", "choose_tips_for_pipette": "Choose tips for {{pipetteName}}", "create_new_protocol": "Create New Protocol", "custom_tiprack": "Custom tips", - "name_your_protocol": "Name your protocol.", "description": "Description", + "name_your_protocol": "Name your protocol.", "organization_or_author": "Organization/Author", "pipette_type": "Pipette Type", - "protocol_name": "Protocol Name", "protocol_name_and_description": "Protocol name and description", + "protocol_name": "Protocol Name", "review_file_details": "Review file details", "robot_type": "Robot Type", + "staging_areas": "Staging area slots", "upload_tiprack": "Upload a custom tiprack to select its definition", - "upload": "Upload", - "staging_areas": "Staging area slots" + "upload": "Upload" }, "well_order": { "title": "Well Order",