From cd20afd27d5d151438f4abab53da64503a46d544 Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Wed, 14 Sep 2011 13:17:50 +0000 Subject: [PATCH] Corrected mis-spelling and removed a hanging q which made its way into the code --- modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm index c6887e3db7..f1551b84ce 100644 --- a/modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm @@ -463,7 +463,7 @@ sub fetch_all_by_Slice_and_external_dbname_link { push( @external_db_ids, $external_db_id ); } - if ( scalar(@external_db_id) == 0 ) { + if ( scalar(@external_db_ids) == 0 ) { warn sprintf( "Could not find external database " . "'%s' in the external_db table\n" . "Available are:\n", @@ -486,7 +486,6 @@ sub fetch_all_by_Slice_and_external_dbname_link { my %linked_genes; foreach $external_db_id (@external_db_ids) { my @linked_genes = - q $dbe_adaptor->list_gene_ids_by_external_db_id($external_db_id); foreach my $gene_id (@linked_genes) { -- GitLab