pylabrobot.resources.utils.split_identifier#

pylabrobot.resources.utils.split_identifier(identifier: str) Tuple[str, str]#

Split a well identifier into its row-letter and column-number parts.

Validates that the identifier is in transposed Excel style notation (one or more letters followed by one or more digits, e.g. ‘A1’, ‘AF48’).

>>> split_identifier('A1')
('A', '1')
>>> split_identifier('AF48')
('AF', '48')
Raises:

ValueError – If the identifier is not in transposed Excel style notation.

Parameters:

identifier (str)

Return type:

Tuple[str, str]