diff --git a/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm index d7a8d757e2dd279579e5b3924876315cb2524521..afa8669591cd480013486e5195376e148a409539 100644 --- a/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm @@ -628,8 +628,6 @@ sub fetch_by_region_unique { $self->_build_exception_cache(); } - if (!exists( $self->{'asm_exc_cache'}->{ $self->get_seq_region_id($slice) } )) { return $slice; } - if ( exists( $self->{'asm_exc_cache'}->{ $self->get_seq_region_id($slice) } ) ) @@ -646,6 +644,8 @@ sub fetch_by_region_unique { push( @out, $segment->[2] ); } } + } else { + @out = ($slice); } return \@out;