Revision 6179
Added by Aaron Marcuse-Kubitza about 12 years ago
map | ||
---|---|---|
184 | 184 |
def update_in_label(): |
185 | 185 |
if in_label_ref[0] != None and out_is_db: |
186 | 186 |
# TODO: Move this to the mappings as some kind of metadata |
187 |
col_defaults['reference_id'] = db_xml.put(out_db, xpath.path2xml(
|
|
188 |
'reference/shortname="'+in_label_ref[0]+'"'), row_ins_ct_ref)
|
|
187 |
col_defaults['source_id'] = db_xml.put(out_db, xpath.path2xml(
|
|
188 |
'source/shortname="'+in_label_ref[0]+'"'), row_ins_ct_ref)
|
|
189 | 189 |
|
190 | 190 |
def prep_root(): |
191 | 191 |
root.clear() |
Also available in: Unified diff
schemas/vegbien.sql: Renamed reference -> source to make this table more broadly applicable, and because this now stores the datasource metadata