From 7e6ceee094f73617a8477d7ad4e62871444d24e6 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Thu, 17 Jul 2014 14:22:56 +0200 Subject: [PATCH] fix code and doc after merge with dev --- timeside/analyzer/irit_monopoly.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/timeside/analyzer/irit_monopoly.py b/timeside/analyzer/irit_monopoly.py index b1f82c2..03fd9ce 100644 --- a/timeside/analyzer/irit_monopoly.py +++ b/timeside/analyzer/irit_monopoly.py @@ -87,7 +87,8 @@ class IRITMonopoly(Analyzer): ''' aubio_res_id = 'aubio_pitch.pitch_confidence' - pitch_confidences = self.process_pipe.results[aubio_res_id].data + pipe_results = self.process_pipe.results + pitch_confidences = pipe_results.get_result_by_id(aubio_res_id).data nb_frameDecision = int(self.decisionLen / self.wStep) epsilon = numpy.spacing(pitch_confidences[0]) -- 2.39.5