commit/galaxy-central: jgoecks: Improve filtering tool's stdout reporting of lines filtered; fixes #536
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/dd656a54171b/ changeset: dd656a54171b user: jgoecks date: 2011-06-15 19:22:18 summary: Improve filtering tool's stdout reporting of lines filtered; fixes #536 affected #: 1 file (36 bytes) --- a/tools/stats/filtering.py Wed Jun 15 11:37:21 2011 -0400 +++ b/tools/stats/filtering.py Wed Jun 15 13:22:18 2011 -0400 @@ -130,7 +130,7 @@ valid_lines = total_lines - skipped_lines print 'Filtering with %s, ' % cond_text if valid_lines > 0: - print 'kept %4.2f%% of %d lines.' % ( 100.0*lines_kept/valid_lines, total_lines ) + print 'kept %4.2f%% of %d valid lines (%d total lines).' % ( 100.0*lines_kept/valid_lines, valid_lines, total_lines ) else: print 'Possible invalid filter condition "%s" or non-existent column referenced. See tool tips, syntax and examples.' % cond_text if invalid_lines: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket