From 1fe1c7f7964e10a088b31541cced3db0b99037bb Mon Sep 17 00:00:00 2001
From: Arne Stabenau <stabenau@sanger.ac.uk>
Date: Tue, 19 Nov 2002 10:25:05 +0000
Subject: [PATCH] Merged changes from the branch

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

diff --git a/modules/Bio/EnsEMBL/PredictionTranscript.pm b/modules/Bio/EnsEMBL/PredictionTranscript.pm
index b70d951b63..a217026ed3 100644
--- a/modules/Bio/EnsEMBL/PredictionTranscript.pm
+++ b/modules/Bio/EnsEMBL/PredictionTranscript.pm
@@ -348,7 +348,7 @@ sub get_all_Exons {
 sub get_all_translateable_Exons {
   my $self = shift;
 
-  return $self->get_all_Exons;
+  return [ grep{ ref( $_ ) eq 'Bio::EnsEMBL::Exon' } @{$self->get_all_Exons} ];
 }
 
 
-- 
GitLab