Again, solved my own problem.
diff -r 949e4f5fa03a tools/plotting/scatterplot.py
--- a/tools/plotting/scatterplot.py Mon Aug 29 14:42:04 2011 -0400
+++ b/tools/plotting/scatterplot.py Wed Oct 12 10:35:58 2011 -0400
@@ -20,7 +20,8 @@
xlab = sys.argv[6]
ylab = sys.argv[7]
-matrix = []
+xarray = []
+yarray = []
skipped_lines = 0
first_invalid_line = 0
invalid_value = ''
@@ -57,12 +58,13 @@
first_invalid_line = i+1
if valid:
-matrix.append( row )
+xarray.append ( row[0] )
+yarray.append ( row[1] )
if skipped_lines i:
try:
r.pdf( out_fname, 8, 8 )
-r.plot( array( matrix ), type=p, main=title, xlab=xlab,
ylab=ylab, col=blue, pch=19 )
+r.plot( xarray, yarray, type=p, main=title, xlab=xlab,
ylab=ylab, col=blue, pch=19 )
r.dev_off()
except Exception, exc:
stop_err( %s %str( exc ) )
David
On Oct 6, 2011, at 10:16 AM, David Hoover wrote:
Hi,
The scatterplot tool is broken in the distributed version. It works on the
main Galaxy server, but on our local installation it gives this error:
An error occurred running this job:Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf
3: In min(x) : no non-missing arguments to min; returning Inf
4: In max(x) : no non-missing arguments to max; re
Any ideas?
David Hoover
Helix Systems Staff
SCB/CIT/NIH
___
Please keep all replies on the list by using reply all
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
http://lists.bx.psu.edu/
___
Please keep all replies on the list by using reply all
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
http://lists.bx.psu.edu/