File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
api/src/opentrons/hardware_control Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -2093,14 +2093,17 @@ async def _force_pick_up_tip(
2093
2093
) -> None :
2094
2094
for press in pipette_spec .tip_action_moves :
2095
2095
async with self ._backend .motor_current (run_currents = press .currents ):
2096
- target_down = target_position_from_relative (
2096
+ target = target_position_from_relative (
2097
2097
mount , top_types .Point (z = press .distance ), self ._current_position
2098
2098
)
2099
- await self ._move (target_down , speed = press .speed , expect_stalls = True )
2100
- if press .distance < 0 :
2101
- # we expect a stall has happened during a downward movement into the tiprack, so
2102
- # we want to update the motor estimation
2103
- await self ._update_position_estimation ([Axis .by_mount (mount )])
2099
+ if press .distance < 0 :
2100
+ # we expect a stall has happened during a downward movement into the tiprack, so
2101
+ # we want to update the motor estimation
2102
+ await self ._move (target , speed = press .speed , expect_stalls = True )
2103
+ await self ._update_position_estimation ([Axis .by_mount (mount )])
2104
+ else :
2105
+ # we should not ignore stalls that happen during the retract part of the routine
2106
+ await self ._move (target , speed = press .speed , expect_stalls = False )
2104
2107
2105
2108
async def _tip_motor_action (
2106
2109
self , mount : OT3Mount , pipette_spec : List [TipActionMoveSpec ]
You can’t perform that action at this time.
0 commit comments