]> git.donarmstrong.com Git - biopieces.git/commitdiff
slight fix of printf in progress_meter
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 9 Sep 2010 08:36:26 +0000 (08:36 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 9 Sep 2010 08:36:26 +0000 (08:36 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1080 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/progress_meter

index 4e03cb48db7c0acb8569b28eb124614086f100a0..eca7c4b5862ec0fdc86b030b8b1cd112c010e8f5 100755 (executable)
@@ -41,7 +41,7 @@ options = bp.parse(ARGV, casts)
 
 bp.each_with_index do |record, count|
   bp.puts record unless options.has_key? :no_stream
-  $stderr.printf "\n% 8d ", count if (count % (options[:count] * 100)) == 0
+  $stderr.printf "\n% 9d ", count if (count % (options[:count] * 100)) == 0
   $stderr.print "." if (count % options[:count]) == 0
 end