Project

General

Profile

« Previous | Next » 

Revision 5414

Added inputs/test_taxonomic_names/test_scrub

View differences:

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