Skip to content

Commit

Permalink
call instrument context configure
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Dec 11, 2023
1 parent 2f0baf2 commit 7169933
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 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,9 @@ 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")
else:
pipette.configure_nozzle_layout(NozzleLayout.ALL)
return pipette


Expand Down

0 comments on commit 7169933

Please sign in to comment.