From fca05c1ea0c21343d581e90376e0a18dd6a8c527 Mon Sep 17 00:00:00 2001 From: Ian Longden <ianl@sanger.ac.uk> Date: Mon, 29 Oct 2007 08:57:17 +0000 Subject: [PATCH] remove warning as id not always an interger can also be the keyword cdna, genome etc --- modules/Bio/EnsEMBL/Mapper.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/Mapper.pm b/modules/Bio/EnsEMBL/Mapper.pm index a2382e0a53..7fb99301ac 100644 --- a/modules/Bio/EnsEMBL/Mapper.pm +++ b/modules/Bio/EnsEMBL/Mapper.pm @@ -231,7 +231,7 @@ sub map_coordinates{ - if(defined($last_target_coord) and $target_coord->{'id'} != $last_target_coord){ + if(defined($last_target_coord) and $target_coord->{'id'} ne $last_target_coord){ if($self_coord->{'start'} < $start){ # i.e. the same bit is being mapped to another assembled bit $start = $orig_start; } -- GitLab