Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
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