From 4e9d940ac898cb72ca5b28b15bf2d78e995ddb4e Mon Sep 17 00:00:00 2001 From: gesellkammer Date: Wed, 14 Feb 2024 20:20:12 +0100 Subject: [PATCH] fix test --- testci/test2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testci/test2.py b/testci/test2.py index e30e604..e9640a2 100644 --- a/testci/test2.py +++ b/testci/test2.py @@ -81,8 +81,9 @@ def pyinPitchTrack(samples: np.ndarray, TODO """ - if 'pyin:pyin' not in vamp.listPlugins(): - raise RuntimeError(f"Vamp plugin 'pyin' not found. Available plugins: {vamp.listPlugins()}") + allplugins = vamp.list_plugins() + if 'pyin:pyin' not in allplugins: + raise RuntimeError(f"Vamp plugin 'pyin' not found. Available plugins: {allplugins}") if fftSize < 2048: raise ValueError("The pyin vamp plugin does not accept fft size less than 2048")