Project

General

Profile

« Previous | Next » 

Revision 5318

import_all: Added commands to import TNRS names so the user doesn't have to do this manually

View differences:

bin/import_all
11 11
        return 2
12 12
    fi
13 13
    
14
    make inputs/.TNRS/cleanup
15
    make inputs/.TNRS/import by_col=1
14 16
    make inputs/.TNRS/tnrs/tnrs-remake wait=1 &
15 17
    . "$selfDir/with_all" import "$@"
16 18
}
README.TXT
22 22
        To save it: make schemas/rotate
23 23
        Important: This must be done *after* running make_analytical_db on a
24 24
            previous import
25
    Import the TNRS names:
26
        make inputs/.TNRS/cleanup; make inputs/.TNRS/import by_col=1 &
27
    Wait for the TNRS import to finish: wait
28 25
    Start column-based import: . bin/import_all by_col=1
29 26
        To use row-based import: . bin/import_all
30 27
        To stop all running imports: . bin/stop_imports
28
        WARNING: Do NOT run import_all in the background, or the jobs it creates
29
            won't be owned by your shell.
30
        Note that import_all will take 1 hour+ to import the TNRS names before
31
            returning control to the shell.
31 32
    Wait (overnight) for the import to finish
32 33
    ./bin/make_analytical_db &
33 34
    Wait for make_analytical_db to finish

Also available in: Unified diff