From 9806c6c00835cae2b120e6df4584303ea835537d Mon Sep 17 00:00:00 2001 From: gibsongreen Date: Thu, 5 Dec 2024 01:21:26 -0500 Subject: [PATCH] add change log, remove unused line --- CHANGES.rst | 3 +++ jdaviz/configs/imviz/plugins/catalogs/catalogs.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index de05a89d42..b707a12084 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,6 +18,9 @@ Imviz * Add Roman WFI and CGI footprints to the Footprints plugin. [#3322] +- Catalog Search plugin now exposes a maximum sources limit for all catalogs and resolves an edge case + when loading a catalog from a file that only contains one source. [#3337] + Mosviz ^^^^^^ diff --git a/jdaviz/configs/imviz/plugins/catalogs/catalogs.py b/jdaviz/configs/imviz/plugins/catalogs/catalogs.py index d723e8f61f..97b92290b3 100644 --- a/jdaviz/configs/imviz/plugins/catalogs/catalogs.py +++ b/jdaviz/configs/imviz/plugins/catalogs/catalogs.py @@ -250,7 +250,6 @@ def search(self, error_on_fail=False): if self.catalog_selected == 'From File...': # for single source convert table information to lists for zipping if len(self.app._catalog_source_table) == 1 or self.max_sources == 1: - table = [self.app._catalog_source_table] x_coordinates = [x_coordinates] y_coordinates = [y_coordinates]