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

Do not check for same coord system if you are in project_to_slice

parent ca442e33
No related branches found
No related tags found
No related merge requests found
...@@ -2968,10 +2968,10 @@ sub project_to_slice { ...@@ -2968,10 +2968,10 @@ sub project_to_slice {
# return the original region. This can happen for example, if we # return the original region. This can happen for example, if we
# were on a PAR region on Y which refered to X and a projection to # were on a PAR region on Y which refered to X and a projection to
# 'toplevel' was requested. # 'toplevel' was requested.
if($coord_cs->equals($slice_cs)) { # if($coord_cs->equals($slice_cs)) {
# trim off regions which are not defined # # trim off regions which are not defined
return $self->_constrain_to_region(); # return $self->_constrain_to_region();
} # }
#create slices for the mapped-to coord system #create slices for the mapped-to coord system
my $slice = $slice_adaptor->fetch_by_seq_region_id( my $slice = $slice_adaptor->fetch_by_seq_region_id(
......
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