Project

General

Profile

« Previous | Next » 

Revision 5926

input.Makefile: Maps validation: %/new_terms.csv: Filter out metadata values, which are not new terms even though they are in the same map column as the input columns

View differences:

inputs/.TNRS/tnrs_accepted/new_terms.csv
27 27
Accepted_name_author,acceptedScientificNameAuthorship,,
28 28
Accepted_name_rank,acceptedTaxonRank,,
29 29
Accepted_name_family,acceptedFamily,/_nullIf:[null=Unknown]/value,
30
:true,taxonIsCanonical,,This table contains only accepted names (names that scrub to themselves)
inputs/input.Makefile
319 319
	$(newTerms)
320 320
	$(bin)/autoremove $@
321 321
newTerms = tail -n +2 $<|$(bin)/filter_out_ci 0 $(vocab)|$(bin)/filter_out_ci 0\
322
$(dict) $(if $(wildcard $(word 4,$+)),|$(bin)/filter_out_ci 0 $(word 4,$+)) >$@
322
$(dict) $(if $(wildcard $(word 4,$+)),|$(bin)/filter_out_ci 0 $(word 4,$+))\
323
|grep -vE '^"?:' >$@
323 324

  
324 325
termsSubdirs := $(tables)
325 326

  

Also available in: Unified diff