From 76746054afbbd4d8305e59bf9ac1c83b582a5de2 Mon Sep 17 00:00:00 2001 From: Matt Craig Date: Sun, 27 Oct 2024 10:49:52 -0500 Subject: [PATCH 1/2] Change ID field in apass_dr9 catalog --- stellarphot/core.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stellarphot/core.py b/stellarphot/core.py index 6160299f..96efcc6a 100644 --- a/stellarphot/core.py +++ b/stellarphot/core.py @@ -1222,7 +1222,10 @@ def apass_dr9(field_center, radius=1 * u.degree, clip_by_frame=False, padding=10 """ apass_colnames = { - "recno": "id", # There is no APASS ID, this is the one generated by Vizier + # There is no APASS ID, and this isn't a real ID either...but we need something + # for ID, and every APASS line is guaranteed to have a field number, so we'll + # use it. We replace the id column below anyway. + "Field": "id", "RAJ2000": "ra", "DEJ2000": "dec", } From b9bf579d39724de522ff5ff0a34a767d1d524565 Mon Sep 17 00:00:00 2001 From: Matt Craig Date: Sun, 27 Oct 2024 11:34:15 -0500 Subject: [PATCH 2/2] Pin photutils version Version 2.0 introduced some kind of change that broke a couple of our tests. See feder-observatory#477 for more information. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 29a5312e..7e2cd4b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ dependencies = [ "matplotlib", "papermill", "pandas", - "photutils >=1.9", + "photutils >=1.9,<2", "pydantic >=2", "pyyaml", "platformdirs",