Commit 10c7f799 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Logical error spotted by jm18.

parent e27323b2
......@@ -938,7 +938,7 @@ sub get_adaptor {
my $ispecies = $class->get_alias($species);
if ( !defined($species) ) {
if ( !defined($ispecies) ) {
throw("Can not find internal name for species '$species'");
}
else { $species = $ispecies }
......
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