pylabrobot.utils.list.assert_shape#

pylabrobot.utils.list.assert_shape(list_: List[List[T]], shape: Tuple[int, int])#

Assert that a list has the correct shape.

Parameters:
  • list – The list to check.

  • shape (Tuple[int, int]) – The expected shape.

  • list_ (List[List[T]])