Skip to content

Commit

Permalink
Duplication todo comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Oct 11, 2024
1 parent 9121c0b commit 3fd8730
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/src/opentrons/protocol_engine/state/tips.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ class TipRackWellState(Enum):
TipRackStateByWellName = Dict[str, TipRackWellState]


# todo(mm, 2024-10-10): This info is duplicated between here and PipetteState because
# TipStore is using it to compute which tips a PickUpTip removes from the tip rack,
# given the pipette's current nozzle map. We could avoid this duplication by moving the
# computation to TipView, calling it from PickUpTipImplementation, and passing the
# precomputed list of wells to TipStore.
@dataclass
class _PipetteInfo:
channels: int
Expand Down

0 comments on commit 3fd8730

Please sign in to comment.