Commit 473f2f48 authored by Tiago Grego's avatar Tiago Grego
Browse files

removed duplication

parent 74eb54bd
......@@ -59,14 +59,6 @@ sub open {
$params{'use_tmp_dir'} = 1;
}
my %params = (filename => $filename);
## Tabix will want to write the downloaded index file to
## the current working directory. By default this is '/'
if ($self->{'params'}{'tmp_dir'}) {
$params{'tmp_dir'} = $self->{'params'}{'tmp_dir'};
$params{'use_tmp_dir'} = 1;
}
$self->{record} = undef;
$self->{tabix_file} = Bio::DB::HTS::Tabix->new(%params);
$self->{iterator} = undef;
......
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