From cc51183580734b4700355afbbfea11df5e42441a Mon Sep 17 00:00:00 2001 From: Jesse Averbukh Date: Thu, 7 Nov 2024 10:07:40 -0500 Subject: [PATCH] PEP8 fixes --- jdaviz/configs/cubeviz/plugins/cube_listener.py | 3 +-- jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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