From b51e4de7dfa589c6102ced6c4c55bc92a917ad45 Mon Sep 17 00:00:00 2001
From: Andrew Yates <ayates@ebi.ac.uk>
Date: Tue, 22 May 2012 16:28:05 +0000
Subject: [PATCH] Adding the no_alias check to the
 get_species_and_object_type() method to avoid warning about the lack of a
 lookup DB

---
 modules/Bio/EnsEMBL/Registry.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/Registry.pm b/modules/Bio/EnsEMBL/Registry.pm
index 7daf3a6d93..bc3a71f37b 100644
--- a/modules/Bio/EnsEMBL/Registry.pm
+++ b/modules/Bio/EnsEMBL/Registry.pm
@@ -2717,7 +2717,7 @@ sub get_species_and_object_type {
   my ($self, $stable_id, $known_type, $known_species, $known_db_type) = @_;
 
   #get the stable_id lookup database adaptor
-  my $stable_ids_dba = $self->get_DBAdaptor("multi", "stable_ids");
+  my $stable_ids_dba = $self->get_DBAdaptor("multi", "stable_ids", 1);
 
   if ($stable_ids_dba) {
 
-- 
GitLab