예제 #1
0
파일: __init__.py 프로젝트: gabisurita/GDAd
def recognize(cmdline):
    survey = model.survey.Survey.load(cmdline['project'])
    import recognize
    if cmdline['identify']:
        return recognize.identify(survey)
    else:
        return recognize.recognize(survey)
예제 #2
0
def recognize(cmdline):
    survey = model.survey.Survey.load(cmdline['project'])
    import recognize

    if not cmdline['rerun']:
        filter = lambda: not (survey.sheet.verified or survey.sheet.recognized)
    else:
        filter = lambda: True

    if cmdline['identify']:
        return recognize.identify(survey, filter)
    else:
        return recognize.recognize(survey, filter)
예제 #3
0
파일: __init__.py 프로젝트: alfonsodg/sdaps
def recognize(cmdline):
    survey = model.survey.Survey.load(cmdline['project'])
    import recognize

    if not cmdline['rerun']:
        filter = lambda : not (survey.sheet.verified or survey.sheet.recognized)
    else:
        filter = lambda: True

    if cmdline['identify']:
        return recognize.identify(survey, filter)
    else:
        return recognize.recognize(survey, filter)