Revision 5414
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/test_taxonomic_names/test_scrub | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
# Test-scrubs the test taxonomic names |
|
3 |
|
|
4 |
selfDir="$(dirname -- "$0")" |
|
5 |
selfDirName="$(basename -- "$selfDir")" |
|
6 |
|
|
7 |
cd "$selfDir/../.." |
|
8 |
|
|
9 |
make inputs/.TNRS/reinstall # asks user for confirmation |
|
10 |
make schemas/public/reinstall # asks user for confirmation |
|
11 |
make inputs/"$selfDirName"/import log= |
|
12 |
for (( i = 0; i < 2; i++ )); do # the 2nd time parses the accepted names |
|
13 |
make inputs/.TNRS/tnrs/tnrs-remake log= |
|
14 |
yes|make schemas/public/reinstall |
|
15 |
make inputs/.TNRS/cleanup |
|
16 |
make inputs/.TNRS/import log= |
|
17 |
make inputs/"$selfDirName"/import log= |
|
18 |
done |
|
0 | 19 |
Also available in: Unified diff
Added inputs/test_taxonomic_names/test_scrub