From 69ef24c7fb8bfb73af0213e2329559330535082e Mon Sep 17 00:00:00 2001
From: Web Admin <w3adm@sanger.ac.uk>
Date: Thu, 11 Oct 2001 09:03:39 +0000
Subject: [PATCH] throws correct id if no chromosome found

---
 modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm
index 0ccd9587f0..3e41ceded4 100644
--- a/modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/ChromosomeAdaptor.pm
@@ -74,7 +74,7 @@ sub fetch_by_dbID{
    $sth->execute;
    my $a = $sth->fetchrow_arrayref();
    if( !defined $a ) {
-       $self->throw("No chromosome of $a");
+       $self->throw("No chromosome of $id");
    }
 
 
@@ -215,7 +215,6 @@ sub get_landmark_MarkerFeatures{
    my $prev;
    while( $sth->fetch ) {
        if( defined $prev && $prev->end + $glob > $start  && $prev->id eq $name ) {
-           
            next;
        }
 
-- 
GitLab