From 6a679f3f4b723d582828d2110f9d8d0ba4c371e6 Mon Sep 17 00:00:00 2001 From: Ryan Howard Date: Mon, 11 Dec 2023 16:52:35 -0500 Subject: [PATCH] feat(hardware-testing): use instrument context partial tip pickup interface. (#14166) * call instrument context configure * don't force an ALL tip config, its that by default and breaks the single channel --- hardware-testing/hardware_testing/gravimetric/helpers.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/hardware-testing/hardware_testing/gravimetric/helpers.py b/hardware-testing/hardware_testing/gravimetric/helpers.py index 86a965745ff0..e62bc7bdb5e2 100644 --- a/hardware-testing/hardware_testing/gravimetric/helpers.py +++ b/hardware-testing/hardware_testing/gravimetric/helpers.py @@ -16,6 +16,7 @@ ) from opentrons.protocol_api.labware import Well, Labware from opentrons.protocol_api._types import OffDeckType +from opentrons.protocol_api._nozzle_layout import NozzleLayout from opentrons.protocols.types import APIVersion from opentrons.hardware_control.thread_manager import ThreadManager from opentrons.hardware_control.types import OT3Mount, Axis @@ -386,12 +387,7 @@ def _load_pipette( # NOTE: 8ch QC testing means testing 1 channel at a time, # so we need to decrease the pick-up current to work with 1 tip. if pipette.channels == 8 and not increment and not photometric: - hwapi = get_sync_hw_api(ctx) - mnt = OT3Mount.LEFT if pipette_mount == "left" else OT3Mount.RIGHT - hwpipette: Pipette = hwapi.hardware_pipettes[mnt.to_mount()] - hwpipette._config.pick_up_tip_configurations.press_fit.current_by_tip_count[ - 8 - ] = 0.2 + pipette.configure_nozzle_layout(NozzleLayout.SINGLE, "A1") return pipette