Skip to content

Commit

Permalink
transfers: comments and noise
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Aug 7, 2024
1 parent 7b8abc2 commit 8709c17
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/src/opentrons/protocols/advanced_control/transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,6 @@ def _plan_transfer(self) -> Generator[TransferStep, None, None]:
# TODO: account for unequal length sources, dests
# TODO: ensure last transfer is > min_vol
vol = min(max_vol, step_vol - xferred_vol)

yield from self._aspirate_actions(vol, src)
yield from self._dispense_actions(vol=vol, dest=dest, src=src)
xferred_vol += vol
Expand Down Expand Up @@ -875,7 +874,6 @@ def _after_dispense(
self._strategy.blow_out_strategy == BlowOutStrategy.TRASH
or self._strategy.disposal_volume
):
# Flake8 marked this function as "too complex", so these two "yield from" calls move some complexity to another function.
yield from self._after_dispense_trash()
else:
yield from self._after_dispense_helper()
Expand Down

0 comments on commit 8709c17

Please sign in to comment.