Skip to content
Snippets Groups Projects
Commit 8f39079d authored by Magali Ruffier's avatar Magali Ruffier
Browse files

should return an array ref, not a slice

parent 6908c322
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment