From 98777ce7f46a1dac0d7e153b017ab592e0b5bb4b Mon Sep 17 00:00:00 2001
From: Kieron Taylor <ktaylor@ebi.ac.uk>
Date: Mon, 21 Oct 2013 13:08:52 +0000
Subject: [PATCH] Corrected POD, as per ENSCORESW-723

---
 modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm
index 3a064390b3..fb8c5d9974 100644
--- a/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm
@@ -516,13 +516,12 @@ sub fetch_by_toplevel_location {
                 If we are unsuccessful at retriving a location retry taking any 
                 possible chr prefix into account e.g. chrX and X are treated as
                 equivalents
-  Example     : my $slice = $sa->fetch_by_toplevel_location('X:1-10000')
-                my $slice = $sa->fetch_by_toplevel_location('X:1-10000:-1')
+  Example     : my $slice = $sa->fetch_by_location('X:1-10000','chromosome')
+                my $slice = $sa->fetch_by_location('X:1-10000:-1','toplevel')
   Description : Converts an Ensembl location/region into the sequence region
                 name, start and end and passes them onto C<fetch_by_region()>. 
-                The code assumes that the required slice is on the top level
-                coordinate system. The code assumes that location formatting
-                is not perfect and will perform basic cleanup before parsing.
+                The code assumes that location formatting is not perfect and 
+                will perform basic cleanup before parsing.
   Returntype  : Bio::EnsEMBL::Slice
   Exceptions  : If $location or coordinate system is false otherwise 
                 see C<fetch_by_region()>
-- 
GitLab