root/scripts/util/test_map @ 70
1 | 53 | aaronmk | #!/bin/bash
|
---|---|---|---|
2 | # Tests map
|
||
3 | # Usage: [env n=<num-rows>] self
|
||
4 | |||
5 | selfDir="$(dirname -- "$0")" |
||
6 | cd "$selfDir" |
||
7 | |||
8 | test -n "$n" || n=2 |
||
9 | let n++
|
||
10 | |||
11 | 70 | aaronmk | head -$n NYSpecimenDataAmericas.csv|../map \ |
12 | ../../mappings/NYBG-VegX.organisms.csv >NYSpecimenDataAmericas.test.xml
|
||
13 | 63 | aaronmk | diff NYSpecimenDataAmericas.xml NYSpecimenDataAmericas.test.xml |
14 | 53 | aaronmk | |
15 | ../map2vegbank <vb_plot_observation.xml |