Commit 79913f4b authored by Ian Longden's avatar Ian Longden
Browse files

get_adaptor fixed for dnadb with different species

parent f3cdc0a8
......@@ -485,8 +485,8 @@ sub get_adaptor{
my $dnadb_group = $registry_register{$species}{$group}{_DNA};
if( defined($dnadb_group) && defined($dnadb_adaptors{$type}) ) {
$species = $registry_register{$species}{$group}{'_DNA2'};
$group = $dnadb_group;
$species = $registry_register{$species}{$group}{_DNA2};
}
my $ret = $registry_register{$species}{$group}{$type};
......
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