From b2b68173540d827bdd6a654551789f5b54013723 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Tue, 27 May 2014 11:59:55 +0200 Subject: [PATCH] Fix parent instanciation issue in render_analyzers --- timeside/grapher/render_analyzers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/timeside/grapher/render_analyzers.py b/timeside/grapher/render_analyzers.py index dc198ca..44926ef 100644 --- a/timeside/grapher/render_analyzers.py +++ b/timeside/grapher/render_analyzers.py @@ -104,18 +104,18 @@ try: except PIDError: pass -odf = get_processor('odf') +odf = get_processor('odf')() DisplayOnsetDetectionFunction = DisplayAnalyzer.create(analyzer=odf, result_id='odf', grapher_id='grapher_odf', grapher_name='Onset detection function') -wav = get_processor('waveform_analyzer') +wav = get_processor('waveform_analyzer')() DisplayWaveform = DisplayAnalyzer.create(analyzer=wav, result_id='waveform_analyzer', grapher_id='grapher_waveform', grapher_name='Waveform from Analyzer') -irit4hz = get_processor('irit_speech_4hz') +irit4hz = get_processor('irit_speech_4hz')() Display4hzSpeechSegmentation = DisplayAnalyzer.create(analyzer=irit4hz, result_id='irit_speech_4hz.segments', grapher_id='grapher_irit_speech_4hz_segments', -- 2.39.5