From dadd89363f1ea03d61780ffc35420def48fe8aaa Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Wed, 24 Jul 2024 13:52:42 -0400 Subject: [PATCH] skip updating marks if not tray instance --- .../cubeviz/plugins/spectral_extraction/spectral_extraction.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jdaviz/configs/cubeviz/plugins/spectral_extraction/spectral_extraction.py b/jdaviz/configs/cubeviz/plugins/spectral_extraction/spectral_extraction.py index f7a0c238e1..7a3f6b2b25 100644 --- a/jdaviz/configs/cubeviz/plugins/spectral_extraction/spectral_extraction.py +++ b/jdaviz/configs/cubeviz/plugins/spectral_extraction/spectral_extraction.py @@ -726,6 +726,7 @@ def _update_marks(self, event={}): def _live_update_extract(self, event={}): self._update_extract() + @skip_if_not_tray_instance() def _update_extract(self): try: ext, bg_extract = self.extract(return_bg=True, add_data=False)