def t_FLOAT(t):
    r'[+-]?(\d*\.\d+([eE][+-]?\d+)?|\d+[eE][+-]?\d+)'
    try:
        t.value = float(t.value)    
    except ValueError:
        print((t.lineno,t.value) % "Line %d: Number '%s' has some kind of problem (ValueError)!")
        t.value = float("nan")
    return t
dataset/ETHPy150Open pysb/pysb/pysb/deprecated/bng_parser.py/t_FLOAT/swapped operands of `%`