solvebio/utils/tabulate.py
def _mediawiki_cell_attrs(row, colaligns):
    "Prefix every cell in a row with an HTML alignment attribute."
    alignment = {"left": '',
                 "right": 'align="right"| ',
                 "center": 'align="center"| ',
                 "decimal": 'align="right"| '}
    row2 = [alignment[a] + c for c, a in zip(row, colaligns)]
    return row2
def _mediawiki_cell_attrs(row, colaligns):
    "Prefix every cell in a row with an HTML alignment attribute."
    alignment = {"left": '',
                 "right": 'align="right"| ',
                 "center": 'align="center"| ',
                 "decimal": 'align="right"| '}
    row2 = [alignment[a] + c for c, a in zip(row, colaligns)]
    return row2
Prefix every cell in a row with an HTML alignment attribute.