Skip to content

Commit

Permalink
feat(hardware-testing): use instrument context partial tip pickup int…
Browse files Browse the repository at this point in the history
…erface. (#14166)

* call instrument context configure

* don't force an ALL tip config, its that by default and breaks the single channel
  • Loading branch information
ryanthecoder committed Mar 13, 2024
1 parent bdb644f commit e057f1b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions hardware-testing/hardware_testing/gravimetric/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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


Expand Down

0 comments on commit e057f1b

Please sign in to comment.