<reponame>SecureDNA/quickdna
import typing as ty


def valid_tables() -> ty.Generator[int, None, None]:
    for table in range(1, 34):
        # skip tables that are either unassigned (17-20) or are aliases for other
        # tables that biopython doesn't understand (7 & 8)
        if table not in (7, 8, 17, 18, 19, 20):
            yield table

import typing as ty


def valid_tables() -> ty.Generator[int, None, None]:
    for table in range(1, 34):
        # skip tables that are either unassigned (17-20) or are aliases for other
        # tables that biopython doesn't understand (7 & 8)
        if table not in (7, 8, 17, 18, 19, 20):
            yield table
# skip tables that are either unassigned (17-20) or are aliases for other # tables that biopython doesn't understand (7 & 8)