1
|
#!/bin/bash -e
|
2
|
. "$(dirname "${BASH_SOURCE[0]}")"/../table.run
|
3
|
|
4
|
if self_not_included; then
|
5
|
|
6
|
func_override table.tsv/make__src_table_run
|
7
|
table.tsv/make()
|
8
|
{
|
9
|
echo_func
|
10
|
cols='
|
11
|
id, institution_code, collection_code, catalogue_number,
|
12
|
family, genus, species, subspecies/*helps TNRS to resolve species*/,
|
13
|
latitude, longitude, country, state_province, county, locality' \
|
14
|
filter="
|
15
|
institution_code IN ($(cat "$top_dir"/herbaria.sql))"
|
16
|
table.tsv/make__src_table_run
|
17
|
}
|
18
|
|
19
|
fi
|