def slice(s, m):
    assert s in ':'
    ra, rb = s.split(':')
    ra = 0 if ra == '' else int(ra)
    rb = m if rb == '' else int(rb)
    return ra, rb
dataset/ETHPy150Open tanghaibao/jcvi/graphics/grabseeds.py/slice/swapped operands of `in`