Project

General

Profile

« Previous | Next » 

Revision 6404

bin/map: update_in_label(): Removed hardcoded source_id col_default, which is now set in mappings/VegCore-VegBIEN.csv's output root

View differences:

bin/map
184 184
    def update_in_label():
185 185
        if in_label_ref[0] != None:
186 186
            os.environ['source'] = in_label_ref[0]
187
            if out_is_db:
188
                # TODO: Move this to the mappings as some kind of metadata
189
                col_defaults['source_id'] = db_xml.put(out_db, xpath.path2xml(
190
                    'source/shortname="'+in_label_ref[0]+'"'), row_ins_ct_ref)
191 187
    
192 188
    def prep_root():
193 189
        root.clear()

Also available in: Unified diff