Project

General

Profile

« Previous | Next » 

Revision 10251

bugfix: lib/runscripts/table.run: remake_VegBIEN_mappings(): when remaking, do not remake header.csv, because it should keep the original CSV columns rather than being reset to whatever the current staging table columns happen to be. to force-regenerate this, instead delete it first and then run remake_VegBIEN_mappings(). remake mode will now just regenerate map.csv from header.csv, in case map.csv's columns are incomplete or out of order.

View differences:

table.run
74 74
{
75 75
	echo_func; set_make_vars
76 76
	public_schema_exists || return 0
77
	if remaking; then in_top_dir rm header.csv map.csv; fi # remake them
77
	if remaking; then in_top_dir rm map.csv; fi # remake them
78 78
	piped_cmd yes|table_make test
79 79
}
80 80

  

Also available in: Unified diff