From b16c017581836bf189839ca53f171d49f3779150 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 31 May 2005 02:12:33 +0000 Subject: [PATCH] limit diff output to 3 decimal limit diff output to 3 decimal --- python/aubiocompare-onset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2