Project

General

Profile

« Previous | Next » 

Revision 1537

xml_func.py: _map: Instead of _closed special entry, make all maps closed by default and open them if special entry "*=*" is present. Support using a _map to filter values by interpreting special entry "*=" as removing all values not explicitly specified, and by interpreting special value "*" as keeping input value the same.

View differences:

DwC.specimens.csv
4 4
Barcode,CatalogNumber,
5 5
Full Taxon Name,ScientificName,
6 6
Collect Date,CollectedDate,
7
Cultivated?,"establishmentMeans/_map:[_closed=1,Yes=cultivated,No=wild]/value",
7
Cultivated?,"establishmentMeans/_map:[Yes=cultivated,No=wild]/value",
8 8
Elevation,VerbatimElevation,
9 9
Lat (-=S),"Latitude/_replace:[""\?$""=]/value",
10 10
Long (-=W),"Longitude/_replace:[""\?$""=]/value",

Also available in: Unified diff