From 72394746a31fa5ad5a025f340ea5b02862029a78 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Thu, 16 Jan 2025 13:21:12 -0500 Subject: [PATCH] BUG: source_id is lowercase in Gaia output --- jdaviz/configs/imviz/plugins/catalogs/catalogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdaviz/configs/imviz/plugins/catalogs/catalogs.py b/jdaviz/configs/imviz/plugins/catalogs/catalogs.py index ec9a9020ef..e99d20e8a8 100644 --- a/jdaviz/configs/imviz/plugins/catalogs/catalogs.py +++ b/jdaviz/configs/imviz/plugins/catalogs/catalogs.py @@ -255,7 +255,7 @@ def search(self, error_on_fail=False): if self.catalog_selected == "SDSS": row_id = row["objid"] elif self.catalog_selected == "Gaia": - row_id = row["SOURCE_ID"] + row_id = row["source_id"] # Check if the row contains the required keys row_info = {'Right Ascension (degrees)': row['ra'], 'Declination (degrees)': row['dec'],