Skip to content
Snippets Groups Projects
Commit fb9a8697 authored by Ian Longden's avatar Ian Longden
Browse files

add synoyms for dependents

parent ed058bae
No related branches found
No related tags found
No related merge requests found
......@@ -1319,6 +1319,11 @@ sub upload_xref_object_graphs {
$dep{LINKAGE_ANNOTATION},
$dep{LINKAGE_SOURCE_ID} )
or croak( $dbi->errstr() );
# if there are synonyms, add entries in the synonym table
foreach my $syn ( @{ $dep{SYNONYMS} } ) {
$syn_sth->execute( $dep_xref_id, $syn )
or croak( $dbi->errstr() . "\n $xref_id\n $syn\n" );
} # foreach syn
} # foreach dep
if(defined($xref_id) and defined($xref->{PAIR})){
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment