Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use the handle not the queryfile string

  • Loading branch information...
commit 103e61a124fd3738f30b0ec0c19c0807f19e2c24 1 parent a7d7d6f
@hyphaltip hyphaltip authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/utilities/bp_download_query_genbank.pl
View
4 scripts/utilities/bp_download_query_genbank.pl
@@ -112,8 +112,8 @@ =head1 AUTHOR Jason Stajich
} elsif( $options{'-query'}) {
$query = Bio::DB::Query::GenBank->new(%options);
} elsif( $queryfile ) {
- open(my $fh => $queryfile) || die $!;
- while(<$queryfile>) {
+ open(my $fh => $queryfile) || die "cannot open $queryfile: $!";
+ while(<$fh>) {
chomp;
$options{'-query'} .= $_;
}
Please sign in to comment.
Something went wrong with that request. Please try again.