pylabrobot.resources.Plate.get_item#

Plate.get_item(identifier: Union[str, int]) pylabrobot.resources.itemized_resource.T#

Get the item with the given identifier.

Parameters

identifier (Union[str, int]) – The identifier of the item. Either a string or an integer. If an integer, it is the index of the item in the list of items (counted from 0, top to bottom, left to right). If a string, it uses transposed MS Excel style notation, e.g. “A1” for the first item, “B1” for the item below that, etc.

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

pylabrobot.resources.itemized_resource.T