From bfb83efbac692315c7969f3b3423b9814d20dd74 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 9ae34fee26..123d4811a3 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,9 @@ Imviz * Orientation plugin API now exposes create_north_up_east_left and create_north_up_east_right methods. [#3308] +- 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]