Project

General

Profile

« Previous | Next » 

Revision 7405

join: Added support for direct mappings to VegBIEN by passing through outputs that start with / (indicating an XPath rather than a term)

View differences:

bin/join
94 94
                    if row_[1] != '': row_[1] += suffix # don't modify out_row!
95 95
                    writer.writerow(row_)
96 96
                row_written = True
97
            elif row[1].startswith('/'): pass # leave row as is
97 98
            else: set_error('No join mapping for '+out_orig)
98 99
        elif row[2] == '': # also no comment explaining why no input mapping
99 100
            set_error('No input mapping for '+row[0])

Also available in: Unified diff