]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/plot_nucleotide_distribution
added ugly fix to ruby gnuplot dumb print problem
[biopieces.git] / bp_bin / plot_nucleotide_distribution
index 937bbeaf1378f47882d8f2bd5146fd1fef649486..d8d276f6d796c9217d682042fbf4acd3ea3f940b 100755 (executable)
@@ -105,7 +105,7 @@ if max_len > 0
       plot.title    options[:title]
       plot.xlabel   options[:xlabel]
       plot.ylabel   options[:ylabel]
-      plot.output   options[:data_out] if options[:data_out]
+      plot.output   options[:data_out] || "/dev/stderr"
       plot.ytics    "out"
       plot.xtics    "out"
       plot.yrange   "[0:#{Y_MAX}]"