pylabrobot.resources.tip_tracker.TipTracker#

class pylabrobot.resources.tip_tracker.TipTracker#

Bases: abc.ABC

A tip tracker tracks tip operations and raises errors if the tip operations are invalid.

Attributes

has_tip

Whether the tip tracker has a tip.

history

The past operations.

is_disabled

Methods

__init__()

clear()

Clear the history.

commit()

Commit the pending operations.

disable()

Disable the tip tracker.

enable()

Enable the tip tracker.

get_tip()

Get the tip.

handle_drop(op)

Update the pending state with the operation, if it is valid.

handle_pickup(op)

Update the pending state with the operation, if it is valid.

queue_drop(op)

Update the pending state with the operation, if the operation is valid

queue_pickup(op)

Update the pending state with the operation, if the operation is valid

rollback()

Rollback the pending operations.

set_tip(tip)

Set the tip.