Skip to content

Commit

Permalink
Merge pull request #5 from andrewjpage/master
Browse files Browse the repository at this point in the history
typo in memory estimation
  • Loading branch information
andrewjpage committed Apr 23, 2013
2 parents f4bd8d4 + ffdef73 commit d9f2252
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Bio/PanGenome/ParallelAllAgainstAllBlast.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use Bio::PanGenome::Exceptions;
use Bio::PanGenome::ChunkFastaFile;
use Bio::PanGenome::External::Makeblastdb;
use Bio::PanGenome::External::Blastp;
use Bio::PanGenome::JobRunner::LSF;
use Cwd;
use File::Temp;
use File::Basename;
Expand Down Expand Up @@ -99,7 +100,7 @@ sub _build__memory_required_in_mb
{
$file_size = -s $filename;
$file_size *=10;
$file_size = int($file_size/100000);
$file_size = int($file_size/1000000);
$file_size = 100 if($file_size < 100);
}

Expand Down

0 comments on commit d9f2252

Please sign in to comment.