From ae9860186f2a462afdd36d31c4dd65f7fa7192af Mon Sep 17 00:00:00 2001 From: Jesse Averbukh Date: Mon, 18 Nov 2024 10:42:28 -0500 Subject: [PATCH] Grey out start/stop stream and fix code style --- jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.vue | 2 ++ .../cubeviz/plugins/sonify_data/tests/test_sonify_data.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.vue b/jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.vue index 99165c09d9..f48b1848e7 100644 --- a/jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.vue +++ b/jdaviz/configs/cubeviz/plugins/sonify_data/sonify_data.vue @@ -126,11 +126,13 @@ Sonify data Start stream Stop stream diff --git a/jdaviz/configs/cubeviz/plugins/sonify_data/tests/test_sonify_data.py b/jdaviz/configs/cubeviz/plugins/sonify_data/tests/test_sonify_data.py index 7bef2c3f28..e50f2e3413 100644 --- a/jdaviz/configs/cubeviz/plugins/sonify_data/tests/test_sonify_data.py +++ b/jdaviz/configs/cubeviz/plugins/sonify_data/tests/test_sonify_data.py @@ -20,7 +20,7 @@ def test_sonify_data(cubeviz_helper, spectrum1d_cube_larger): assert sonify_plg.flux_viewer.volume_level == 90 # Test using spectral subset for setting audification bounds - spec_region = SpectralRegion(4.62360028e-07*u.m, 4.62920561e-07*u.m) + spec_region = SpectralRegion(4.62360028e-07*u.m, 4.62920561e-07*u.m) subset_plugin = cubeviz_helper.plugins['Subset Tools']._obj subset_plugin.import_region(spec_region) sonify_plg.spectral_subset_selected = 'Subset 1'