Commit 053b1953 authored by Ian Longden's avatar Ian Longden
Browse files

add web species aliases in the subroutine load_registry_with_web_adaptors

parent c88d573a
......@@ -722,6 +722,12 @@ sub load_registry_with_web_adaptors{
eval{ require SpeciesDefs };
if ($@){ die "Can't use SpeciesDefs.pm - $@\n"; }
my $conf = new SpeciesDefs();
my %species_alias = %{$SiteDefs::ENSEMBL_SPECIES_ALIASES};
foreach my $spec (keys %species_alias){
Bio::EnsEMBL::Registry->add_alias($species_alias{$spec},$spec);
}
}
......
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