Skip to content

Commit

Permalink
fix(api): Position plunger to bottom before picking up a tip (#13049)
Browse files Browse the repository at this point in the history
  • Loading branch information
andySigler authored Jul 6, 2023
1 parent 0c787ba commit 4becec5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/src/opentrons/hardware_control/ot3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1668,6 +1668,7 @@ async def pick_up_tip(
realmount, tip_length, presses, increment
)

await self._move_to_plunger_bottom(realmount, rate=1.0)
if spec.pick_up_motor_actions:
await self._motor_pick_up_tip(realmount, spec.pick_up_motor_actions)
else:
Expand Down
1 change: 1 addition & 0 deletions api/tests/opentrons/hardware_control/test_ot3_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,7 @@ async def test_pick_up_tip_full_tiprack(
ot3_hardware: ThreadManager[OT3API],
mock_instrument_handlers: Tuple[Mock],
mock_ungrip: AsyncMock,
mock_move_to_plunger_bottom: AsyncMock,
) -> None:
mock_ungrip.return_value = None
await ot3_hardware.home()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ async def _read_pressure() -> float:
if not api.is_simulator:
_get_operator_answer_to_question('REMOVE tip to nozzle, enter "y" when ready')
print("moving plunger back down to BOTTOM position")
await helpers_ot3.move_plunger_absolute_ot3(api, mount, bottom)
await api.dispense(mount)
await api.remove_tip(mount)
return pressure_open_air_pass and pressure_sealed_pass and pressure_compress_pass

Expand Down

0 comments on commit 4becec5

Please sign in to comment.