Project

General

Profile

Task #293

Updated by Aaron Marcuse-Kubitza about 13 years ago

A Python script to invert a mapping spreadsheet. The In addition to swapping the columns, the following transformations are needed: 

 # swap the columns 
 # * remove input create-only attributes (@:[...]@) 
 # * remove _alt elements 
 * 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