Skip to content

Commit

Permalink
Fix astroquery Ned import deprecation (#644)
Browse files Browse the repository at this point in the history
* Fix astroquery Ned import deprecation

* `astroquery.ned.Ned` -> `astroquery.ipac.ned.Ned`

* Bumped minimum astroquery to 0.4.4
  • Loading branch information
ajstewart authored Mar 29, 2022
1 parent beb490c commit 97f8007
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

#### Fixed

- Fixed deprecation warning on astroquery Ned import [#644](https://github.com/askap-vast/vast-pipeline/pull/644).
- Fixed a regression from pandas==1.4.0 that caused empty groups to be passed to an apply function in parallel association [#642](https://github.com/askap-vast/vast-pipeline/pull/642).
- Fixed docs issue that stopped serializers and views being shown in the code reference [#627](https://github.com/askap-vast/vast-pipeline/pull/627).
- Fixed broken links to external search results from NED by URI encoding source names [#633](https://github.com/askap-vast/vast-pipeline/pull/633).
Expand Down Expand Up @@ -91,6 +92,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

#### List of PRs

- [#644](https://github.com/askap-vast/vast-pipeline/pull/644): fix: Fix astroquery Ned import deprecation.
- [#638](https://github.com/askap-vast/vast-pipeline/pull/638): feat: Support defer loading of dataTables data.
- [#641](https://github.com/askap-vast/vast-pipeline/pull/641): dep: Drop Python 3.7 and dependency refresh.
- [#643](https://github.com/askap-vast/vast-pipeline/pull/643): fix: Addressed pandas DataFrame.append deprecation.
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
[tool.poetry.dependencies]
python = ">=3.8.0,<3.11"
astropy = "^5.0"
astroquery = "^0.4.0"
astroquery = "^0.4.4"
bokeh = "2.3.3" # must align with @bokeh/bokehjs version in package.json
cloudpickle = "^1.5.0"
dask = {extras = ["dataframe"], version = "^2022.1.0"}
Expand Down
2 changes: 1 addition & 1 deletion vast_pipeline/utils/external_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from astropy.coordinates import SkyCoord, Angle, Longitude, Latitude
from astroquery.simbad import Simbad
from astroquery.ned import Ned
from astroquery.ipac.ned import Ned
from django.conf import settings
import requests

Expand Down

0 comments on commit 97f8007

Please sign in to comment.