From: Thomas Fillon Date: Tue, 27 May 2014 09:59:55 +0000 (+0200) Subject: Fix parent instanciation issue in render_analyzers X-Git-Tag: 0.5.6~5 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b2b68173540d827bdd6a654551789f5b54013723;p=timeside.git Fix parent instanciation issue in render_analyzers --- 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',