From 805de83170071129b213742c5c08da3fd5c5f3e3 Mon Sep 17 00:00:00 2001
From: Ian Longden <ianl@sanger.ac.uk>
Date: Tue, 30 May 2006 15:00:17 +0000
Subject: [PATCH] added end_phase to key for exon hash, to stop overwriting of
 valid exons.

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

diff --git a/modules/Bio/EnsEMBL/Gene.pm b/modules/Bio/EnsEMBL/Gene.pm
index 5b699017e0..2efe7bc80e 100755
--- a/modules/Bio/EnsEMBL/Gene.pm
+++ b/modules/Bio/EnsEMBL/Gene.pm
@@ -499,7 +499,7 @@ sub get_all_Exons {
 
    foreach my $trans ( @{$self->get_all_Transcripts} ) {
        foreach my $e ( @{$trans->get_all_Exons} ) {
-	   $h{$e->start()."-".$e->end()."-".$e->strand()."-".$e->phase()} = $e;
+	   $h{$e->start()."-".$e->end()."-".$e->strand()."-".$e->phase()."-".$e->end_phase()} = $e;
        }
    }
 
-- 
GitLab