Skip to content

Commit

Permalink
math fix
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Aug 7, 2024
1 parent 0387123 commit 5a1ed75
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/tests/opentrons/hardware_control/test_ot3_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,9 +963,7 @@ async def _fake_pos_update_and_raise(
force_both_sensors: bool = False,
) -> float:
pos = self._position
pos[Axis.by_mount(mount)] += mount_speed * (
abs(max_p_distance / plunger_speed) - 0.2
)
pos[Axis.by_mount(mount)] += mount_speed * (abs(max_p_distance / plunger_speed))
await self.update_position()
raise PipetteLiquidNotFoundError()

Expand Down

0 comments on commit 5a1ed75

Please sign in to comment.