Skip to content
Snippets Groups Projects
Commit 3d1c581a authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Simplified synonym selection SQL due to table structure change.

parent 14a9cba9
No related branches found
No related tags found
No related merge requests found
......@@ -960,7 +960,7 @@ sub dump_core_xrefs {
}
# Now get the synonyms for each of these xrefs and write them to the external_synonym table
$sql = "SELECT s.synonym_xref_id, x2.accession FROM synonym s, xref x, xref x2 WHERE x.xref_id=s.xref_id AND x2.xref_id=s.synonym_xref_id AND s.xref_id $id_str";
$sql = "SELECT xref_id, synonym FROM synonym WHERE xref_id $id_str";
my $syn_sth = $xref_dbi->prepare($sql);
$syn_sth->execute();
......
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