From 97a01a14ecaa1c58f987d56f468fcd4cf70655fc Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Wed, 14 May 2014 16:54:28 +0200 Subject: [PATCH] Fix many PyFlake warnings --- timeside/analyzer/__init__.py | 2 ++ timeside/analyzer/irit_speech_4hz.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/timeside/analyzer/__init__.py b/timeside/analyzer/__init__.py index 7da90fd..062ee5c 100644 --- a/timeside/analyzer/__init__.py +++ b/timeside/analyzer/__init__.py @@ -10,6 +10,7 @@ except ImportError: WITH_AUBIO = False else: del aubio + # Yaafe try: WITH_YAAFE = True @@ -18,6 +19,7 @@ except ImportError: WITH_YAAFE = False else: del yaafelib + # Vamp Plugins try: from . vamp_plugin import VampSimpleHost diff --git a/timeside/analyzer/irit_speech_4hz.py b/timeside/analyzer/irit_speech_4hz.py index 916e55d..73579f9 100644 --- a/timeside/analyzer/irit_speech_4hz.py +++ b/timeside/analyzer/irit_speech_4hz.py @@ -24,7 +24,7 @@ from timeside.analyzer.core import Analyzer from timeside.analyzer.utils import melFilterBank, computeModulation from timeside.analyzer.utils import segmentFromValues from timeside.api import IAnalyzer -from numpy import array, hamming, dot, mean, float, isnan +from numpy import array, hamming, dot, mean, float from numpy.fft import rfft from scipy.signal import firwin, lfilter -- 2.39.5