From: Thomas Fillon Date: Mon, 19 Jan 2015 08:18:50 +0000 (+0100) Subject: Fix #69 X-Git-Tag: 0.7^2~16 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=712c8912d7f0762d6bc5813e751f014c214ee083;p=timeside.git Fix #69 --- diff --git a/timeside/core/analyzer.py b/timeside/core/analyzer.py index cc0a0a3..b3e2ce9 100644 --- a/timeside/core/analyzer.py +++ b/timeside/core/analyzer.py @@ -833,11 +833,7 @@ class FrameValueObject(ValueObject, FramewiseObject): else: chunksize = 1 numchunks = nb_frames - - print "nb_frames %d" % nb_frames - print "chunksize %d" % chunksize - print "numchunks %d" % numchunks - + if self.data.ndim <= 1: ychunks = self.data[:chunksize*numchunks].reshape((-1, chunksize))