Project

General

Profile

Actions

Task #293

open

mapping inversion script

Added by Aaron Marcuse-Kubitza over 12 years ago. Updated over 12 years ago.

Status:
New
Priority:
Normal
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:

  1. swap the columns
  2. remove input create-only attributes (:[...])
  3. expand input split paths to separate input paths, each mapping to the same output
  4. remove duplicate occurrences of the same input with different _alt ranks by choosing the best rank
  5. remove input _alt ranks
Actions #1

Updated by Aaron Marcuse-Kubitza over 12 years ago

suggested name and location: svn/scripts/util/invert_map

Actions #2

Updated by Aaron Marcuse-Kubitza over 12 years ago

  • Description updated (diff)

updated transformations

Actions #3

Updated by Aaron Marcuse-Kubitza over 12 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF