def get_number(s):
    n = float(re.match('[0-9]+', s).group(0))
    if s in 'right':
        n += 0.5
    return n
dataset/ETHPy150Open hoytak/diabetic-retinopathy-code/create_submission.py/get_number/swapped operands of `in`