From fb2da171aab97ababbb2acc64f31d7a02046e1d6 Mon Sep 17 00:00:00 2001
From: Arne Stabenau <stabenau@sanger.ac.uk>
Date: Thu, 11 Oct 2001 15:13:14 +0000
Subject: [PATCH] contig_landmarkMarker table renamed and columns in it
 renamed. Code changed accordingly.

---
 modules/Bio/EnsEMBL/Virtual/StaticContig.pm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/modules/Bio/EnsEMBL/Virtual/StaticContig.pm b/modules/Bio/EnsEMBL/Virtual/StaticContig.pm
index cb85124aeb..3db2a7fb85 100755
--- a/modules/Bio/EnsEMBL/Virtual/StaticContig.pm
+++ b/modules/Bio/EnsEMBL/Virtual/StaticContig.pm
@@ -1379,6 +1379,8 @@ sub get_landmark_MarkerFeatures_old {
 
 my ($self) = @_;
 
+$self->throw( "Method deprecated." );
+
 my $glob_start = $self->_global_start;
 my $glob_end   = $self->_global_end;
 my $length     = $self->length;
@@ -1481,14 +1483,14 @@ sub get_landmark_MarkerFeatures{
     my $length     = $self->length;
 
 
-   my $statement= " SELECT  start,
-			    end,
-			    strand,
+   my $statement= " SELECT  chr_start,
+			    chr_end,
+			    chr_strand,
 			    name 
-		    FROM    contig_landmarkMarker 
+		    FROM    landmarkMarker 
 		    WHERE   chr_name = '$chr_name'
-                    AND     start >= $glob_start 
-                    AND     end <= $glob_end 
+                    AND     chr_start >= $glob_start 
+                    AND     chr_end <= $glob_end 
 		    ORDER BY start
 		";
    
-- 
GitLab