Commit e83884f5 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

tools/fuse.py: .latex(), protect a '%'

parent 1359cace
......@@ -118,7 +118,7 @@ class Window:
def latex(self, point=0, base=10000):
reads = self.d["reads"][point]
ratio = float(reads)/base
return r" & & %7d & %5.2f%% & %-50s \\ %% %s" % (reads, ratio * 100,
return r" & & %7d & %5.2f\%% & %-50s \\ %% %s" % (reads, ratio * 100,
self.d["name"] if 'name' in self.d else self.d["id"], self.d["id"])
### print essential info about Window
......
Markdown is supported
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