]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/calc_N50
fixed pipes for adaptor removal
[biopieces.git] / bp_bin / calc_N50
index 3b7d4e47e7eef35079a51f8b1023079688906a16..a97fe0809a3b9e7367cd01c5907d68717a5afd33 100755 (executable)
@@ -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