ref: b16c017581836bf189839ca53f171d49f3779150
parent: 8e25b1b2e846b3b02f0866b1ccbed0be64893462
author: Paul Brossier <piem@altern.org>
date: Mon May 30 22:12:33 EDT 2005
limit diff output to 3 decimal limit diff output to 3 decimal
--- a/python/aubiocompare-onset
+++ b/python/aubiocompare-onset
@@ -91,7 +91,7 @@
# compute errors types
if mode == 'localisation':
l = onset_diffs(ltru,lres,tol)
- for i in l: print i
+ for i in l: print "%.3f" % i
else:
orig, missed, merged, expc, bad, doubled = onset_roc(ltru,lres,tol)