moved everything into /trunk/ to create the standard svn layout, for use with tools that require this (eg. git-svn). IMPORTANT: do NOT do an `svn up`. instead, re-use your working copy's existing files with `svn switch` (http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.switch.html).
join: Added support for direct mappings to VegBIEN by passing through outputs that start with / (indicating an XPath rather than a term)
join: passthru mode: Fixed bug where empty join mappings needed to have the output field of the right-hand row manually set to the output field of the left-hand row for maps.merge_mappings() to work properly
join: When a join mapping exists but is empty, still include any additional columns from that mapping in the combined row
join: Added new passthru mode which passes through terms with no input mapping or no join mapping
join: Documented that it's case- and punctuation-insensitive.
join: Use new maps.simplify()
join: Match terms with non-alphanumeric chars removed
join: Match terms case-insensitively
join: quiet mode: Turn off all warnings, not just "No input mapping" warnings. This is useful when join-unioning a synonymy to a primary map, which may have "No non-empty join mapping" for some terms but this should not be stored in the resulting map's Comments column.
join: Added map_1_core_only option that uses only columns 0 and 1 of map_1. This is useful for one-time refactoring joins where the Source column, mappings comments, etc. shouldn't be part of the datasource's via map (although they will be part of the autogenerated VegBIEN map)
join: Use opts.env_usage() for usage message
join: Support discarding multiple outputs if they should be considered ambiguous
join: Fixed bug where when an input to mapped to multiple outputs, the joined row for each output needed to be output separately using writer.writerow()
join: Made it multi-safe (supports an input appearing multiple times)
join: Also print "No join mapping" warning if a join mapping was found but it was empty. The warning in that case is actually "No non-empty join mapping" to distinguish it from a mapping that's missing entirely. input.Makefile: missing_mappings: Support new "No join mapping" error message.
join: Use new maps.join_combinable() to check if column names match
join: Also produce warnings for no input mapping (if no comment explaining why no input mapping), in addition to no join mapping
join: Don't append suffix to empty output mappings, so that they stay empty ("NULL")
join: In error message when map column names don't match, include the actual column names
join: Don't raise "No join mapping" error for empty mappings because you only want the error for empty mappings for your particular dataset, which requires more information (namely, the subset of the mappings used by your dataset, some of which will not be in the mappings if standard fields have been subtracted out)
join: Fixed bug in "No join mapping" error generation where rows with no existing comments column would cause an IndexError
join: Added heuristic search for a match on a parent path, so that every XML func suffix of a path doesn't need its own mapping
join: Print a warning if no join mapping found (in addition to adding this warning to the comments column)
join: Merge the column labels as well
join: Moved mappings-specific merge functionality into maps.merge_mappings()
join: Use merge_rows() from new maps.py
join: Merge comments of input map and join map
join: Report which input mappings are missing a mapping in the join map
join: For input mappings with no match in the join map, include them in the output map with an empty mapping
Renamed util to bin
Moved everything in scripts to root. inputs_Makefile: Don't run "all" when installing.
join: Added usage item for repeated joins
join: Changed order of args and redirects to be more intuitive
Renamed join_maps to join
Added Comments column with Brad's and Aaron's comments to mapping spreadsheets
Moved env usage string creation to opts.py. Changed db config var names to use in/out instead of from/to.
Fixed xml_xpath.get() last_only optimization to handle attrs correctly. Turned off stack traces for errors intended for the user to see.
map: Added support for custom fkeys to parent in db XML trees. Removed extraneous csv reader/writer config because Excel format is default. Improved documentation.
Created join_maps to join two 2-column map spreadsheets