pylabrobot.resources.TipRack.get_item#
- TipRack.get_item(identifier: str | int | Tuple[int, int]) T #
Get the item with the given identifier.
- Parameters:
identifier (str | int | Tuple[int, int]) – The identifier of the item. Either a string, an integer, or a tuple. If an
integer –
0 (it is the index of the item in the list of items (counted from) –
bottom (top to) –
left –
string (to right). If a) –
notation (it uses transposed MS Excel style) –
first (e.g. "A1" for the) –
item (
row, column
) –that ("B1" for the item below) –
tuple (etc. If a) –
is (it) –
- Returns:
The item with the given identifier.
- Raises:
IndexError – If the identifier is out of range. The range is 0 to (num_items_x * num_items_y - 1). Strings are converted to integer indices first.
- Return type:
T