Revision 5928
Added by Aaron Marcuse-Kubitza about 12 years ago
map | ||
---|---|---|
316 | 316 |
mappings_orig = mappings[:] # save a copy |
317 | 317 |
mappings[:] = [] # empty existing elements |
318 | 318 |
for in_, out in mappings_orig: |
319 |
if metadata_value(in_) == None: |
|
319 |
if is_metadata(in_): mappings.append((in_, out)) |
|
320 |
else: |
|
320 | 321 |
try: |
321 | 322 |
cols = get_with_prefix(col_names_map, prefixes_simp, |
322 | 323 |
maps.simplify(in_)) |
Also available in: Unified diff
bin/map: map_rows(): map_table(): Fixed bug where metadata values were being removed prematurely, by passing them through