From: martinahansen Date: Mon, 31 Jan 2011 21:01:59 +0000 (+0000) Subject: fixed bug in calc_N50 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=192511d9214752672d04e0deaf2169718a2288f5;p=biopieces.git fixed bug in calc_N50 git-svn-id: http://biopieces.googlecode.com/svn/trunk@1239 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/calc_N50 b/bp_bin/calc_N50 index 3b7d4e4..a97fe08 100755 --- a/bp_bin/calc_N50 +++ b/bp_bin/calc_N50 @@ -52,7 +52,7 @@ bp.each_record do |record| end end -bp.out = Stream.write(options[:data_out]) +bp.out = Stream.write(options[:data_out]) if options[:data_out] count = 0