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]