]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/plot_scores
removed debug message
[biopieces.git] / bp_bin / plot_scores
index 915dd34aa3e42475cc8155ceab444b2b1b5f1d3a..a765cb5bd3603d4d8c89913f7cc03370235d213a 100755 (executable)
@@ -45,7 +45,7 @@ casts << {:long=>'ylabel',    :short=>'Y', :type=>'string', :mandatory=>false, :
 
 options = Biopieces.options_parse(ARGV, casts)
 
-SCORES_MAX = 10_000
+SCORES_MAX = 100_000
 
 scores_vec = NArray.int(SCORES_MAX)
 count_vec  = NArray.int(SCORES_MAX)
@@ -85,7 +85,7 @@ Gnuplot.open do |gp|
     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.xrange   "[#{x.min - 1}:#{x.max + 1}]"
     plot.yrange   "[#{Seq::SCORE_MIN}:#{Seq::SCORE_MAX}]"
     plot.style    "fill solid 0.5 border"