def check_markers(a, b, maxdiff):

    if a.seqid != b.seqid:
        return END, None
    diff = hamming_distance(a.genotype, b.genotype, ignore="-")
    max_allowed = len(a) * maxdiff
    if max_allowed <= diff:
        return OK, None

    return BREAK, (a.seqid, a.pos, b.pos)
dataset/ETHPy150Open tanghaibao/jcvi/assembly/geneticmap.py/check_markers/swapped operands of `<=`