From 7989c9b5d82b6ffa5228a9324e70db079572d6c4 Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Mon, 4 Aug 2008 14:01:59 +0000
Subject: [PATCH] Typos.

---
 modules/Bio/EnsEMBL/Registry.pm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/modules/Bio/EnsEMBL/Registry.pm b/modules/Bio/EnsEMBL/Registry.pm
index 88c90db1f2..2eeae8f71e 100644
--- a/modules/Bio/EnsEMBL/Registry.pm
+++ b/modules/Bio/EnsEMBL/Registry.pm
@@ -824,8 +824,9 @@ sub add_adaptor {
 
 sub get_adaptor{
   my ($class,$species,$group,$type)= @_;
- 
+
   $species = $class->get_alias($species);
+
   my %dnadb_adaptors = qw(sequence  1 assemblymapper 1  karyotypeband 1 repeatfeature 1 coordsystem 1  assemblyexceptionfeature 1 );
 
   my $dnadb_group =  $registry_register{$species}{lc($group)}{_DNA};
@@ -1078,8 +1079,8 @@ my $self = shift;
 
 =head2 load_registry_from_url
 
-  Arg [1]    : string $url
-  Example : load_registry_from_url("mysql://anonymous@ensembldb.ensembl.org:3306");
+  Arg [1] : string $url
+  Example : load_registry_from_url(mysql://anonymous@ensembldb.ensembl.org:3306);
   Description: Will load the correct versions of the ensembl databases for the
                software release it can find on a database instance into the 
                registry. Also adds a set of standard aliases. The url format is:
@@ -1758,7 +1759,7 @@ sub load_registry_from_db {
   );
 
  Bio::EnsEMBL::Utils::ConfigRegistry->add_alias(
-                                  -species => "Procavia capensis",
+                                  -species => "Procavia_capensis",
                                   -alias => [ 'rock_hyrax', 'hyrax', 'Procaviacapensis' ]
   );
 
@@ -1773,7 +1774,7 @@ sub load_registry_from_db {
   );
 
  Bio::EnsEMBL::Utils::ConfigRegistry->add_alias(
-                                  -species => "Tarsius syrichta",
+                                  -species => "Tarsius_syrichta",
                                   -alias => [ 'philippine tarsier', 'tarsier', 'Tarsiussyrichta' ]
   );
 
-- 
GitLab