def Convert2BoolPathCoordNum(text):
    #convert to None if possible
    if text.lower() == 'none':
        return None

    #convert to boolean if possible
    if text.lower() in ['true', 'yes']:
        return (True)
    if text.lower() in ['false', 'no']:
        return (False)

    try:
        return (Convert2PathCoordNum(text))
    except ValueError:
        raise ValueError("Expected PathBoolCoordNum got '{0}'".format(text))

    return None
Start the specified plugin.
dataset/ETHPy150Open ioflo/ioflo/ioflo/base/building.py/Convert2BoolPathCoordNum--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/application.py/Application.start_plugin