details: http://www.bx.psu.edu/hg/galaxy/rev/a213a1d8ac03 changeset: 3325:a213a1d8ac03 user: Dan Blankenberg <dan@bx.psu.edu> date: Wed Feb 03 19:44:01 2010 -0500 description: Fix minor off by one error in interval to bed converter print info. diffstat: lib/galaxy/datatypes/converters/interval_to_bed_converter.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diffs (15 lines): diff -r 566d4061cb19 -r a213a1d8ac03 lib/galaxy/datatypes/converters/interval_to_bed_converter.py --- a/lib/galaxy/datatypes/converters/interval_to_bed_converter.py Wed Feb 03 16:33:25 2010 -0500 +++ b/lib/galaxy/datatypes/converters/interval_to_bed_converter.py Wed Feb 03 19:44:01 2010 -0500 @@ -55,9 +55,8 @@ if not first_skipped_line: first_skipped_line = count + 1 out.close() - info_msg = "%i regions converted to BED." % ( count - skipped_lines ) + print "%i regions converted to BED." % ( count + 1 - skipped_lines ) if skipped_lines > 0: - info_msg += "Skipped %d blank or invalid lines starting with line # %d." %( skipped_lines, first_skipped_line ) - print info_msg + print "Skipped %d blank or invalid lines starting with line # %d." % ( skipped_lines, first_skipped_line ) if __name__ == "__main__": __main__()