Skip to content

Commit

Permalink
remove try except
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Oct 6, 2023
1 parent 43ca445 commit 242b0f0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions api/src/opentrons/hardware_control/ot3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1924,12 +1924,9 @@ async def get_tip_presence_status(self, mount: OT3Mount) -> bool:
{Axis.Q: tip_motor_pos_float}, {Axis.Q: tip_presence_check_target}
)
await self._backend.tip_action(moves=clamp_moves[0])
try:
tip_status = await self._backend.get_tip_present_state(
mount=checked_mount, expect_multiple_responses=high_throughput
)
except Exception:
raise
tip_status = await self._backend.get_tip_present_state(
mount=checked_mount, expect_multiple_responses=high_throughput
)

# return tip motors to neutral position
await self.home_gear_motors()
Expand Down

0 comments on commit 242b0f0

Please sign in to comment.