Revision 9391
Added by Aaron Marcuse-Kubitza over 11 years ago
inputs/GBIF/table.run | ||
---|---|---|
4 | 4 |
|
5 | 5 |
if self_not_included; then |
6 | 6 |
|
7 |
table.tsv.md5/make() |
|
8 |
{ |
|
9 |
echo_func; set_make_vars; check_target_exists |
|
10 |
silent=1 table_make "$target_filename" |
|
11 |
} |
|
12 |
|
|
7 | 13 |
table.tsv/make() # usage: [remake=1] [limit=...] .../run table.tsv/make |
8 | 14 |
{ |
9 | 15 |
echo_func; set_make_vars; check_target_exists |
10 | 16 |
to_target mysql_export_local |
17 |
"$target_filename".md5/make |
|
11 | 18 |
} |
12 | 19 |
|
13 | 20 |
export_mysql() |
inputs/GBIF/raw_occurrence_record/run | ||
---|---|---|
3 | 3 |
|
4 | 4 |
if self_not_included; then |
5 | 5 |
|
6 |
table.tsv.md5/make() |
|
7 |
{ |
|
8 |
echo_func; set_make_vars; check_target_exists |
|
9 |
silent=1 table_make "$target_filename" |
|
10 |
} |
|
11 |
|
|
12 | 6 |
func_override table.tsv/make__src_table_run |
13 | 7 |
table.tsv/make() # usage: [remake=1] [limit=...] .../run table.tsv/make |
14 | 8 |
{ |
... | ... | |
22 | 16 |
filter=" |
23 | 17 |
institution_code IN ($(cat "$top_dir"/herbaria.sql))" |
24 | 18 |
table.tsv/make__src_table_run |
25 |
|
|
26 |
table.tsv.md5/make |
|
27 | 19 |
} |
28 | 20 |
|
29 | 21 |
fi |
Also available in: Unified diff
inputs/GBIF/raw_occurrence_record/run: moved table.tsv.md5/make() and invocation of it to inputs/GBIF/table.run because it's general to all tables (which would all use table.tsv for this datasource). use $target_filename in calling table.tsv.md5/make from table.tsv/make.