From 2db3929400aca6a6894aa39cf3354b669c4f8c5e Mon Sep 17 00:00:00 2001
From: Felix Kokocinski <fsk@sanger.ac.uk>
Date: Wed, 7 Feb 2007 11:01:13 +0000
Subject: [PATCH] fetch_by_slice() to return relative coordinates

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

diff --git a/modules/Bio/EnsEMBL/Map/DBSQL/DitagFeatureAdaptor.pm b/modules/Bio/EnsEMBL/Map/DBSQL/DitagFeatureAdaptor.pm
index 54516591bb..f181d8c43a 100644
--- a/modules/Bio/EnsEMBL/Map/DBSQL/DitagFeatureAdaptor.pm
+++ b/modules/Bio/EnsEMBL/Map/DBSQL/DitagFeatureAdaptor.pm
@@ -228,7 +228,7 @@ sub fetch_all_by_Slice {
   my $sth = $self->prepare($sql);
   $sth->execute();
 
-  my $result = $self->_fetch($sth);
+  my $result = $self->_fetch($sth, $slice);
   push(@result, @$result);
 
   return \@result;
-- 
GitLab