From c0e26c7397bf3dcd2f0a87d92eeff6947dc09da7 Mon Sep 17 00:00:00 2001
From: Michael Gray <mg13@sanger.ac.uk>
Date: Fri, 5 Dec 2014 11:29:19 +0000
Subject: [PATCH] Transcript->add_supporting_features(): fix cut-n-pasted
 throw() message.

---
 modules/Bio/EnsEMBL/Transcript.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/Bio/EnsEMBL/Transcript.pm b/modules/Bio/EnsEMBL/Transcript.pm
index 43a7503d5c..cf47d6e05a 100755
--- a/modules/Bio/EnsEMBL/Transcript.pm
+++ b/modules/Bio/EnsEMBL/Transcript.pm
@@ -454,8 +454,8 @@ sub add_supporting_features {
     
     if ((defined $self->slice() && defined $feature->slice())&&
       ( $self->slice()->name() ne $feature->slice()->name())){
-      throw("Supporting feat not in same coord system as exon\n" .
-            "exon is attached to [".$self->slice()->name()."]\n" .
+      throw("Supporting feat not in same coord system as transcript\n" .
+            "transcript is attached to [".$self->slice()->name()."]\n" .
             "feat is attached to [".$feature->slice()->name()."]");
     }
 
-- 
GitLab