Project

General

Profile

1
#!/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
head -$n NYSpecimenDataAmericas.csv|../map \
12
../../mappings/NYBG-VegX.organisms.csv >NYSpecimenDataAmericas.test.xml
13
diff NYSpecimenDataAmericas.xml NYSpecimenDataAmericas.test.xml
14

    
15
../map2vegbank <vb_plot_observation.xml
(7-7/11)