Project

General

Profile

« Previous | Next » 

Revision 5214

tnrs_db: Made wait option default to off to facilitate running tnrs_db by itself, rather than as part of an import

View differences:

bin/tnrs_db
31 31
    env_names = []
32 32
    db_config = opts.get_env_vars(sql.db_config_names, None, env_names)
33 33
    verbosity = float(opts.get_env_var('verbosity', 3, env_names))
34
    wait = opts.env_flag('wait', True, env_names)
34
    wait = opts.env_flag('wait', False, env_names)
35 35
    if not 'engine' in db_config: raise SystemExit('Usage: '
36 36
        +opts.env_usage(env_names)+' '+sys.argv[0]+' 2>>log')
37 37
    
bin/import_all
11 11
        return 2
12 12
    fi
13 13
    
14
    make inputs/.TNRS/tnrs/tnrs-remake &
14
    make inputs/.TNRS/tnrs/tnrs-remake wait=1 &
15 15
    . "$selfDir/with_all" import "$@"
16 16
}
17 17
import_all_main "$@"
README.TXT
231 231
        make inputs/test_taxonomic_names/import log=
232 232
        Do the following twice: (The 2nd time parses the accepted names.)
233 233
            make inputs/.TNRS/tnrs/tnrs-remake log=
234
            Press Ctrl+C when it displays "Waiting..."
235 234
            make schemas/public/reinstall
236 235
            make inputs/.TNRS/cleanup
237 236
            make inputs/.TNRS/import log=

Also available in: Unified diff