From: Paul Brossier Date: Tue, 31 May 2005 02:12:33 +0000 (+0000) Subject: limit diff output to 3 decimal X-Git-Tag: bzr2git~892 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b16c017581836bf189839ca53f171d49f3779150;p=aubio.git limit diff output to 3 decimal limit diff output to 3 decimal --- diff --git a/python/aubiocompare-onset b/python/aubiocompare-onset index e5fcf55b..1ae87699 100755 --- a/python/aubiocompare-onset +++ b/python/aubiocompare-onset @@ -91,7 +91,7 @@ if delay: # 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)