pylabrobot.utils.positions.string_to_indices

pylabrobot.utils.positions.string_to_indices#

pylabrobot.utils.positions.string_to_indices(position_range_string: str, num_rows: int) List[int]#

Convert a position string to a list of indices.

Parameters:
  • position_string – The position string.

  • num_rows (int) – The number of rows of the resource that’s indexed.

  • position_range_string (str) –

Returns:

A list of indices.

Return type:

List[int]