diff --git a/jdaviz/configs/cubeviz/plugins/cube_listener.py b/jdaviz/configs/cubeviz/plugins/cube_listener.py index 66cdb77856..72c24b86ff 100644 --- a/jdaviz/configs/cubeviz/plugins/cube_listener.py +++ b/jdaviz/configs/cubeviz/plugins/cube_listener.py @@ -6,8 +6,7 @@ try: from strauss.sonification import Sonification - from strauss.sources import Events, Objects - from strauss import channels + from strauss.sources import Events from strauss.score import Score from strauss.generator import Spectralizer from tqdm import tqdm diff --git a/jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.py b/jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.py index db4936ba45..5347d672dc 100644 --- a/jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.py +++ b/jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.py @@ -9,7 +9,7 @@ __all__ = ['SonifyData'] try: - import strauss + import strauss # noqa import sounddevice as sd except ImportError: _has_strauss = False