Skip to content
Snippets Groups Projects
Commit a8cc4f1e authored by Ian Longden's avatar Ian Longden
Browse files

use seq_region_start/end instead of start/end in sub overlaps as the test...

use seq_region_start/end instead of start/end in sub  overlaps as the test should not be relative to the slices they are on
parent a93d143b
No related branches found
No related tags found
No related merge requests found
......@@ -1350,7 +1350,7 @@ sub overlaps {
return undef;
}
return ($self->end >= $f->start and $self->start <= $f->end);
return ($self->seq_region_end >= $f->seq_region_start and $self->seq_region_start <= $f->seq_region_end);
}
......
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