def pid_from_str(s):
    
    id_ = -1
    try: 
        id_ = int(s)
        
    except __HOLE__:
        pass

    return id_
dataset/ETHPy150Open kashefy/nideep/nideep/eval/log_utils.py/pid_from_str