Skip to content

Commit

Permalink
get tip presence impl
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Dec 20, 2023
1 parent 47685e4 commit 35f7ea5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/src/opentrons/protocol_engine/execution/tip_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,14 @@ async def verify_tip_presence(
This should not be called when using virtual pipettes.
"""

async def get_tip_presence(self, pipette_id: str) -> TipPresenceStatus:
"""Get tip presence.
This is a check to the physical machine's sensors and should not be
called on a virtual pipette.
"""
raise RuntimeError("Do not call VirtualTipHandler.get_tip_presence")


def create_tip_handler(
state_view: StateView, hardware_api: HardwareControlAPI
Expand Down

0 comments on commit 35f7ea5

Please sign in to comment.