Project

General

Profile

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() # usage: [remake=1] [limit=...] .../run table.tsv/make
8
{
9
	echo_func
10
	cols='
11
	id, institution_code, collection_code, catalogue_number,
12
	scientific_name,
13
	family, genus, species, subspecies/*helps TNRS to resolve species*/,
14
	latitude, longitude, country, state_province, county, locality' \
15
	filter="
16
institution_code IN ($(cat "$top_dir"/herbaria.sql))"
17
table.tsv/make__src_table_run
18
}
19

    
20
fi
(6-6/8)