Project

General

Profile

« Previous | Next » 

Revision 7481

mappings/Makefile: Veg+-VegCore.csv: Sort terms by name so that reordering terms in the VegCore data dictionary does not cause Veg+-VegCore.csv to change. This makes it much easier to identify synonyms and ambiguous terms that were accidentally deleted during a data dictionary refactoring. (Note that these are no longer included in VegCore.csv, so this is required in addition to sorting VegCore.csv by name.)

View differences:

Makefile
39 39
	$(bin)/in_place $@ $(bin)/collapse_multimap
40 40
	# Replace ambiguous terms with alternatives lists
41 41
	$(bin)/in_place $@ $(bin)/translate 1 $(dict)
42
	$(bin)/in_place $@ $(bin)/sort 0 1
42 43

  
43 44
VegCore.tables.csv: VegCore.htm
44 45
	<$< $(sed) -n 's/^.*<h1 *><a href="#[^>]+>([^?<][^<]*).*$$/\1/p' >$@

Also available in: Unified diff