Project

General

Profile

1 8797 aaronmk
#!/bin/bash -e
2
. "$(dirname "${BASH_SOURCE[0]}")"/lib/runscripts/import.run
3 9854 aaronmk
.rel lib/sh/local.sh
4
.rel lib/sh/make.sh
5 8797 aaronmk
6
if self_not_included; then
7
8 8802 aaronmk
: "${schema:=public}"
9
: "${exports_dir:="$top_dir"/exports}"
10 8797 aaronmk
11 10828 aaronmk
taxon_trait/make() # runtime: ~0 ("real 0m0.411s") @ r10826
12 10826 aaronmk
{
13 12779 aaronmk
	begin_target; check_fake_target_exists
14 10828 aaronmk
	local order_by=(scientificName measurementType)
15 10826 aaronmk
	pg_export_table_to_dir "$target_filename"
16
}
17
18 9074 aaronmk
export_()
19 8797 aaronmk
{
20 8881 aaronmk
	echo_func
21 10826 aaronmk
	taxon_trait/make
22 11590 aaronmk
	"$exports_dir"/geoscrub_input.csv.run export_
23 8797 aaronmk
}
24
25
fi