Project

General

Profile

« Previous | Next » 

Revision 4616

src_map: Map source columns to themselves so that src.csv can be used directly with the new automapping mechanism

View differences:

bin/src_map
30 30
    writer = csv.writer(sys.stdout)
31 31
    writer.writerow([datasrc+in_root_suffix, out_root, 'Comments'])
32 32
    for col_name in col_names:
33
        writer.writerow([col_name, '', ''])
33
        writer.writerow([col_name, col_name, ''])
34 34

  
35 35
main()

Also available in: Unified diff