From 037ca2504b288adf3d4054c66c16b0514de8ccd1 Mon Sep 17 00:00:00 2001 From: "Pey Lian Lim (Github)" <2090236+pllim@users.noreply.github.com> Date: Wed, 26 Oct 2022 17:25:08 -0400 Subject: [PATCH] Force marker removal if SDSS query fails --- jdaviz/configs/imviz/plugins/catalogs/catalogs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jdaviz/configs/imviz/plugins/catalogs/catalogs.py b/jdaviz/configs/imviz/plugins/catalogs/catalogs.py index ce7766f07a..68fd131f67 100644 --- a/jdaviz/configs/imviz/plugins/catalogs/catalogs.py +++ b/jdaviz/configs/imviz/plugins/catalogs/catalogs.py @@ -136,6 +136,7 @@ def search(self): self.results_available = True self.number_of_results = 0 self.app._catalog_source_table = None + viewer.remove_markers(marker_name=self._marker_name) return # TODO: Filter this table the same way as the actual displayed markers.