Revision 100
Added by Aaron Marcuse-Kubitza about 13 years ago
test_map | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 | 2 |
# Tests map |
3 |
# Usage: [env n=<num-rows>] self
|
|
3 |
# Usage: env [debug=1] [n=<num-rows>] self
|
|
4 | 4 |
|
5 | 5 |
selfDir="$(dirname -- "$0")" |
6 | 6 |
cd "$selfDir" |
... | ... | |
14 | 14 |
head -"$n" "$in"|../map ../../mappings/NYBG-VegX.organisms.csv \ |
15 | 15 |
>"test_output/$out" && diff "$out" "test_output/$out" |
16 | 16 |
|
17 |
head -"$n" "$in"|../map2vegbank ../../mappings/joins/NYBG-VegBank.organisms.csv |
|
17 |
test -z "$debug" && toVegbank=map2vegbank || toVegbank=map |
|
18 |
head -"$n" "$in"|"../$toVegbank" ../../mappings/joins/NYBG-VegBank.organisms.csv |
Also available in: Unified diff
test_map: Added debug option to print VegBank XML instead of importing it into the database