Project

General

Profile

« Previous | Next » 

Revision 8075

bin/map: No mappings warning: Added explanation that this could also be due to no column name matches, and hint to check if you are importing the correct input table

View differences:

map
282 282
                        value) # value is placeholder that documents name
283 283
                    if not is_metadata_: mappings.append([in_, nodes])
284 284
                if id_node == None:
285
                    warnings.warn(UserWarning('Map warning: No mappings'))
285
                    warnings.warn(UserWarning('Map warning: No mappings or no '
286
                        'column name matches. Are you importing the correct '
287
                        'input table?'))
286 288
                xml_func.simplify(root)
287 289
                sys.stdout.write(strings.to_raw_str('Put template:\n'
288 290
                    +strings.ustr(root)))

Also available in: Unified diff