wellmap.iter_row_indices

wellmap.iter_row_indices(pattern)[source]

Yield all of the well indices in the given row(s).

The given pattern can either specify a single row (e.g. “A”) or several, using the pattern syntax (e.g. “A,B”, “A-C”, “A,C,…,G”).

Examples:

>>> list(iter_row_indices('A'))
[0]
>>> list(wellmap.iter_row_indices('A,B'))
[0, 1]
>>> list(wellmap.iter_row_indices('A-C'))
[0, 1, 2]

See also: Well formats