diff --git a/modules/Bio/EnsEMBL/Mapper.pm b/modules/Bio/EnsEMBL/Mapper.pm index a2382e0a534d81e8859be5cea069d1de8ff38473..7fb99301ac13906527a657daf4505c45b5309c43 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; }