]> git.parisson.com Git - timeside-diadems.git/commitdiff
fix code and doc after merge with dev
authorThomas Fillon <thomas@parisson.com>
Thu, 17 Jul 2014 12:22:56 +0000 (14:22 +0200)
committerThomas Fillon <thomas@parisson.com>
Thu, 17 Jul 2014 12:22:56 +0000 (14:22 +0200)
timeside/analyzer/irit_monopoly.py

index b1f82c22a0f2718336401347d27cf4da13bd6ebc..03fd9ce5dd1b7c1a7253796fd7097c3af8847229 100644 (file)
@@ -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])