torchcell.sga.well_to_rowcol

well_to_rowcol(well: str) → tuple[int, int][source]

Decode a plate well label ('B2', 'AA13') to 1-indexed (row, col).

Row letters are base-26 bijective (A=1 .. Z=26, AA=27), which covers 384 (P=16) and 1536 (AF=32) plate formats without special-casing.