def Convert2PathCoordNum(text):
    """converts text to python type in order
       Boolean, Int, Float, Complex
       ValueError if can't
    """
    #convert to path string if possible
    if REO_PathNode.match(text):
        return (text)

    try:
        return (Convert2CoordNum(text))
    except __HOLE__:
        raise ValueError("Expected BoolCoordNum got '{0}'".format(text))

    return None
dataset/ETHPy150Open ioflo/ioflo/ioflo/base/building.py/Convert2PathCoordNum