mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix minor off by one error in interval to bed converter print info.
This commit is contained in:
@@ -55,9 +55,8 @@ def __main__():
|
||||
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__()
|
||||
|
||||
Reference in New Issue
Block a user