Skip to content

Commit 1b2123a

Browse files
committed
Changes, style, test fixes
1 parent f2bd777 commit 1b2123a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ mast
3939

4040
- Get the keyword corresponding to the dataset ID for a specific mission with ``mast.MastMissions.get_dataset_kwd``. [#3155]
4141

42+
- Handle coordinates that are not in the ICRS frame in query functions. [#3164]
43+
4244
mocserver
4345
^^^^^^^^^
4446

astroquery/mast/missions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from requests import HTTPError, RequestException
2020

2121
from astroquery import log
22-
from astroquery.utils import commons, async_to_sync
22+
from astroquery.utils import async_to_sync
2323
from astroquery.utils.class_or_instance import class_or_instance
2424
from astroquery.exceptions import InvalidQueryError, MaxResultsWarning, InputWarning, NoResultsWarning
2525

astroquery/mast/tests/test_mast_remote.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ def test_tesscut_get_sectors_mt(self):
12621262
assert sector_table['ccd'][0] == 1
12631263

12641264
error_noname = ("Please specify the object name or ID (as understood by the "
1265-
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons.cgi>`__) "
1265+
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons/app.html>`__) "
12661266
"of a moving target such as an asteroid or comet.")
12671267
error_nameresolve = f"Could not resolve {moving_target_name} to a sky position."
12681268
error_mt_coord = "Only one of moving_target and coordinates may be specified."
@@ -1345,7 +1345,7 @@ def test_tesscut_download_cutouts_mt(self, tmpdir):
13451345
assert os.path.isfile(row['Local Path'])
13461346

13471347
error_noname = ("Please specify the object name or ID (as understood by the "
1348-
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons.cgi>`__) of "
1348+
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons/app.html>`__) of "
13491349
"a moving target such as an asteroid or comet.")
13501350
error_nameresolve = f"Could not resolve {moving_target_name} to a sky position."
13511351
error_mt_coord = "Only one of moving_target and coordinates may be specified."
@@ -1426,7 +1426,7 @@ def test_tesscut_get_cutouts_mt(self):
14261426
assert isinstance(cutout_hdus_list[0], fits.HDUList)
14271427

14281428
error_noname = ("Please specify the object name or ID (as understood by the "
1429-
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons.cgi>`__) of "
1429+
"`JPL ephemerides service <https://ssd.jpl.nasa.gov/horizons/app.html>`__) of "
14301430
"a moving target such as an asteroid or comet.")
14311431
error_nameresolve = f"Could not resolve {moving_target_name} to a sky position."
14321432
error_mt_coord = "Only one of moving_target and coordinates may be specified."

0 commit comments

Comments
 (0)