Commit bdba1f01 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Make _remap() a method rather than a subroutine (just as in

AssemblyExceptionFeatureAdaptor).
parent 6caa4d9e
......@@ -369,7 +369,7 @@ sub _slice_fetch {
# features may still have to have coordinates made relative to slice
# start
$fs = _remap($fs, $mapper, $slice);
$fs = $self->_remap( $fs, $mapper, $slice );
push @features, @$fs;
} else {
......@@ -403,7 +403,7 @@ sub _slice_fetch {
my $fs = $self->generic_fetch($constraint, $mapper, $slice);
$fs = _remap($fs, $mapper, $slice);
$fs = $self->_remap( $fs, $mapper, $slice );
push @features, @$fs;
......@@ -430,7 +430,7 @@ sub _slice_fetch {
my $fs = $self->generic_fetch($constraint,$mapper,$slice);
$fs = _remap($fs, $mapper, $slice);
$fs = $self->_remap( $fs, $mapper, $slice );
push @features, @$fs;
}
......@@ -551,7 +551,7 @@ sub _check_start_end_strand {
# converted and placed on the slice.
#
sub _remap {
my ($features, $mapper, $slice) = @_;
my ( $self, $features, $mapper, $slice ) = @_;
#check if any remapping is actually needed
if(@$features && (!$features->[0]->isa('Bio::EnsEMBL::Feature') ||
......
Markdown is supported
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