Commit 2a5225a4 authored by Leonard Heinrich Werner Bohnenkämper's avatar Leonard Heinrich Werner Bohnenkämper
Browse files

Fix erroneous casting of final distance for output.

parent be8d46b9
......@@ -126,6 +126,6 @@ def main():
distfile = sys.stdout
if not args.noheader:
distfile.write("Solution-Type\t#Non-Deletion-Markers(+Telomere-Pairs)\tDistance\n")
distfile.write("%s\t%d\t%d\n"%(status,genes,distance))
distfile.write("%s\t%d\t%d\n"%(status,genes,int(round(distance))))
main()
......@@ -131,6 +131,6 @@ def main():
distfile = sys.stdout
if not args.noheader:
distfile.write("Solution-Type\t#Non-Deletion-Markers(+Telomere-Pairs)\tDistance\n")
distfile.write("%s\t%d\t%d\n"%(status,genes,distance))
distfile.write("%s\t%d\t%d\n"%(status,genes,int(round(distance))))
main()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment