diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b26d99..9c73fd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ * Upgraded `astropy` to 6.0.0. The docker image now tries (but continues if it fails) to update the `astropy-iers-data` package before running the actor and internally `lvmguider` should never try to download IERS data over the internet. +### 🔧 Fixed + +* Fixed `pandas` deprecation in `lvmguider.extraction`. + ## 0.4.1 - November 5, 2023 diff --git a/src/lvmguider/extraction.py b/src/lvmguider/extraction.py index 6dcb4c3..c57929c 100644 --- a/src/lvmguider/extraction.py +++ b/src/lvmguider/extraction.py @@ -533,7 +533,7 @@ def extract_sources(filename: str | pathlib.Path, subtract_dark: bool = True): xy = sources.loc[:, ["x", "y"]].to_numpy() ff_locs, _ = ag_to_full_frame(f"{telescope}-{camname[0]}", xy) - sources.loc[:, ["x_ff", "z_ff"]] = ff_locs + sources.loc[:, ["x_ff", "z_ff"]] = numpy.array(ff_locs, dtype="float32") hdul.close()