Commit ce36d9db authored by Ian Longden's avatar Ian Longden
Browse files

make sure type is lower case

parent 0bff5eb6
......@@ -1832,6 +1832,8 @@ sub get_taxonomy_from_species_id{
sub get_direct_xref{
my ($self,$stable_id,$type,$link) = @_;
$type = lc($type);
my $sql = "select general_xref_id from ${type}_direct_xref d where ensembl_stable_id = ? and linkage_xref= ?";
my $direct_sth = $dbi->prepare($sql);
......
Markdown is supported
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