Skip to content

Commit

Permalink
current position outside the try
Browse files Browse the repository at this point in the history
  • Loading branch information
TamarZanzouri committed Oct 18, 2024
1 parent 487e9b3 commit 6a9115f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def __init__(

async def execute(self, params: PrepareToAspirateParams) -> _ExecuteReturn:
"""Prepare the pipette to aspirate."""
current_position = await self._gantry_mover.get_position(params.pipetteId)
try:
current_position = await self._gantry_mover.get_position(params.pipetteId)
await self._pipetting_handler.prepare_for_aspirate(
pipette_id=params.pipetteId,
)
Expand Down

0 comments on commit 6a9115f

Please sign in to comment.