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

allow passing of to_slice but is ignored, needed to match other map calls

parent 62bdd49d
No related branches found
No related tags found
No related merge requests found
......@@ -209,10 +209,10 @@ sub register_all {
=cut
sub map {
throw('Incorrect number of arguments.') if ( @_ != 6 );
throw('Incorrect number of arguments.') if (!( @_ >= 6));
my ( $self, $frm_seq_region_name, $frm_start, $frm_end, $frm_strand,
$frm_cs )
$frm_cs, $to_slice )
= @_;
my $mapper = $self->{'mapper'};
......@@ -221,6 +221,7 @@ sub map {
my $adaptor = $self->{'adaptor'};
my $frm;
my $seq_region_id =
$self->adaptor()
->seq_regions_to_ids( $frm_cs, [$frm_seq_region_name] )->[0];
......
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