def from_pix(x):
    v = 0
    try:
        v = int(float(x.replace('px', '')))
    except __HOLE__:
        log.error('error parsing px', exc_info=True)
    return v
dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/from_pix