]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/write_fastq
refactoring of ruby code s/has_key?/[]/
[biopieces.git] / bp_bin / write_fastq
index f6050f38555071932cab4ad91eaba821c8d84a83..796e187708e52affcf8747e95149a97e986d62f7 100755 (executable)
@@ -62,7 +62,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output|
       io_out.puts entry.to_fastq
     end
 
-    output.puts record unless options.has_key? :no_stream
+    output.puts record unless options[:no_stream]
   end
 
   io_out.close