details: http://www.bx.psu.edu/hg/galaxy/rev/0c77238cb1ba changeset: 1737:0c77238cb1ba user: guru date: Thu Mar 05 13:02:17 2009 -0500 description: Adding a tiny fix to scatter plot tool. 1 file(s) affected in this change: tools/plotting/scatterplot.py diffs (21 lines): diff -r 082c6cf528bf -r 0c77238cb1ba tools/plotting/scatterplot.py --- a/tools/plotting/scatterplot.py Wed Mar 04 11:57:20 2009 -0500 +++ b/tools/plotting/scatterplot.py Thu Mar 05 13:02:17 2009 -0500 @@ -25,7 +25,7 @@ first_invalid_line = 0 invalid_value = '' invalid_column = 0 - + i = 0 for i, line in enumerate( file( in_fname ) ): valid = True line = line.rstrip( '\r\n' ) @@ -67,7 +67,7 @@ except Exception, exc: stop_err( "%s" %str( exc ) ) else: - stop_err( "All values in both columns %s and %s are non-numeric." % ( sys.argv[3], sys.argv[4] ) ) + stop_err( "All values in both columns %s and %s are non-numeric or empty." % ( sys.argv[3], sys.argv[4] ) ) print "Scatter plot on columns %s, %s. " % ( sys.argv[3], sys.argv[4] ) if skipped_lines > 0: