Revision 1122
Added by Aaron Marcuse-Kubitza almost 13 years ago
map | ||
---|---|---|
98 | 98 |
in_label, out_label = reader.next()[:2] |
99 | 99 |
def split_col_name(name): |
100 | 100 |
name, sep, root = name.partition(':') |
101 |
return name, sep != '', root |
|
101 |
return name.partition('-')[0], sep != '', root |
|
102 |
# extract datasrc from "datasrc-data_format" |
|
102 | 103 |
in_label, in_is_xpaths, in_root = split_col_name(in_label) |
103 | 104 |
in_label_ref[0] = in_label |
104 | 105 |
update_in_label() |
Also available in: Unified diff
bin/map: Support optional data format tag in map spreadsheet labels, used by union to check if two maps can be combined