Skip to content

Commit 65aacfb

Browse files
authored
Merge pull request #3465 from cds-astro/fix-xmatch-url
Fix xmatch url
2 parents 9b2f3f1 + 3418e41 commit 65aacfb

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGES.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ linelists.jplspec
6262

6363
- New location for jplspec. astroquery.jplspec is now deprecated in favor of astroquery.linelists.jplspec [#3455]
6464

65+
xmatch
66+
^^^^^^
67+
68+
- change url of xmatch to use the new CDS domain name [#3465]
69+
6570

6671
Infrastructure, Utility and Other Changes and Additions
6772
-------------------------------------------------------

astroquery/xmatch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Conf(_config.ConfigNamespace):
77
Configuration parameters for `astroquery.xmatch`.
88
"""
99
url = _config.ConfigItem(
10-
'http://cdsxmatch.u-strasbg.fr/xmatch/api/v1/sync',
10+
'https://cdsxmatch.cds.unistra.fr/xmatch/api/v1/sync',
1111
'xMatch URL')
1212

1313
timeout = _config.ConfigItem(

astroquery/xmatch/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
try:
1616
from regions import CircleSkyRegion
1717
except ImportError:
18-
print('Could not import regions, which is required for some of the '
19-
'functionalities of this module.')
18+
pass
2019

2120

2221
@async_to_sync

docs/xmatch/xmatch.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ Reference/API
108108
:no-inheritance-diagram:
109109

110110

111-
.. _xMatch: http://cdsxmatch.u-strasbg.fr/xmatch/doc/
111+
.. _xMatch: https://cdsxmatch.cds.unistra.fr/xmatch/doc/

0 commit comments

Comments
 (0)