Skip to content

Commit

Permalink
Merge pull request #54 from dmr3/master
Browse files Browse the repository at this point in the history
adjust version regex with optional space for BlastPlus
  • Loading branch information
cjfields authored Feb 8, 2019
2 parents 64b9304 + f515909 commit 3d714fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Bio/Tools/Run/BlastPlus.pm
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ sub _version {
die ("There was a problem running $exe : $!");
};

if ($out =~ /blastdbcmd\:\s+(\S+)\nPackage\:\s+([^,]+)/xms) {
if ($out =~ /blastdbcmd\:\s+(\S+)\n\s*Package\:\s+([^,]+)/xms) {
@{$self}{qw(program_version package_version)} = ($1, $2);
} else {
$self->throw("Unknown version output: $out");
Expand Down

0 comments on commit 3d714fd

Please sign in to comment.