From 0e65cd32203b7d7dbe4ab5a848543e95e63b53dc Mon Sep 17 00:00:00 2001 From: pmoegenburg Date: Fri, 20 Sep 2024 16:08:23 -0400 Subject: [PATCH] to minimize diff --- api/src/opentrons/protocol_engine/commands/aspirate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/src/opentrons/protocol_engine/commands/aspirate.py b/api/src/opentrons/protocol_engine/commands/aspirate.py index b43da0e37ac..4e5e7d52260 100644 --- a/api/src/opentrons/protocol_engine/commands/aspirate.py +++ b/api/src/opentrons/protocol_engine/commands/aspirate.py @@ -86,7 +86,6 @@ async def execute(self, params: AspirateParams) -> _ExecuteReturn: pipette_id = params.pipetteId labware_id = params.labwareId well_name = params.wellName - volume = params.volume ready_to_aspirate = self._pipetting.get_is_ready_to_aspirate( pipette_id=pipette_id @@ -131,7 +130,7 @@ async def execute(self, params: AspirateParams) -> _ExecuteReturn: try: volume_aspirated = await self._pipetting.aspirate_in_place( pipette_id=pipette_id, - volume=volume, + volume=params.volume, flow_rate=params.flowRate, command_note_adder=self._command_note_adder, )