pylabrobot.resources.TubeRack.get_tube#

TubeRack.get_tube(key: int | str) Tube | None#

Get the tube at the given position.

Parameters:

key (int | str) – Position of the tube to get. Can be an integer index or a string name.

Returns:

The tube at the given position, or None if there is no tube at that position.

Return type:

Tube | None