pylabrobot.resources.tip_tracker.TipTracker#
- class pylabrobot.resources.tip_tracker.TipTracker(thing: str)#
Bases:
objectA tip tracker tracks tip operations and raises errors if the tip operations are invalid.
Attributes
Whether the tip tracker has a tip.
Methods
__init__(thing)add_tip(tip[, origin, commit])Update the pending state with the operation, if the operation is valid.
clear()Clear the history.
commit()Commit the pending operations.
disable()Disable the tip tracker.
enable()Enable the tip tracker.
get_tip()Get the tip.
Get the origin of the current tip, if known.
load_state(state)Load a saved tip tracker state.
register_callback(callback)remove_tip([commit])Update the pending state with the operation, if the operation is valid
rollback()Rollback the pending operations.
Serialize the state of the tip tracker.
- Parameters:
thing (str)