Actions
Task #293
openmapping inversion script
Start date:
12/07/2011
Due date:
% Done:
0%
Estimated time:
Activity type:
Description
A Python script to invert a mapping spreadsheet. This will be useful for mapping VegBank to VegX, so that we can just run the invert map script to get the reverse mapping.
The following transformations are needed:
- swap the columns
- remove input create-only attributes (
:[...]
) - expand input split paths to separate input paths, each mapping to the same output
- remove duplicate occurrences of the same input with different _alt ranks by choosing the best rank
- remove input _alt ranks
Actions