Skip to content
Snippets Groups Projects
Commit 4c9e29f7 authored by Monika Komorowska's avatar Monika Komorowska
Browse files

Changed error message when species is not defined in sub get_DBAdaptor

parent b4d75f5c
No related branches found
No related tags found
No related merge requests found
......@@ -564,7 +564,7 @@ sub add_DBAdaptor {
sub get_DBAdaptor {
my ( $class, $species, $group , $no_alias_check) = @_;
throw 'arrggh for '.$species if ! defined $species;
throw 'Species not defined.' if ! defined $species;
if(!defined($no_alias_check) or !$no_alias_check){
$species = $class->get_alias($species);
}
......
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