Project

General

Profile

Task #293

Updated by Aaron Marcuse-Kubitza over 12 years ago

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 

Back