

def add_aligned_intervals(al, alignedIvals):
    'Save a set of aligned intervals to alignment.\n    '
    for t in alignedIvals:
        if isinstance(t, (CoordsGroupStart, CoordsGroupEnd)):
            continue
        (src, dest) = t
        al += src
        al[src][dest] = None

dataset/ETHPy150Open cjlee112/pygr/pygr/nlmsa_utils.py add_aligned_intervals/original