pylabrobot.resources.ItemizedResource.get_item#

ItemizedResource.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)

Raises:

IndexError – If the identifier is out of range. The range is 0 to self.num_items-1 (inclusive).

Return type:

T