From 45fc40037e1b9f9fe4f6cb02676ea9703eb790d2 Mon Sep 17 00:00:00 2001
From: Patrick Meidl <pm2@sanger.ac.uk>
Date: Tue, 14 Feb 2006 11:19:45 +0000
Subject: [PATCH] changed warn to Bio::EnsEMBL::Utils::Exception::warning

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

diff --git a/modules/Bio/EnsEMBL/Slice.pm b/modules/Bio/EnsEMBL/Slice.pm
index b322d145fe..fe2d2764a9 100644
--- a/modules/Bio/EnsEMBL/Slice.pm
+++ b/modules/Bio/EnsEMBL/Slice.pm
@@ -158,8 +158,8 @@ sub new {
      throw('Cannot create slice on toplevel CoordSystem.');
    }
   } else {
-   warn("SLICE wo CS");
-   warn(stack_trace_dump());
+   warning("Slice without coordinate system");
+   #warn(stack_trace_dump());
   }
 
   $strand ||= 1;
-- 
GitLab