Skip to content

Commit 769b0db

Browse files
Fix PR comments.
1 parent d52ff29 commit 769b0db

File tree

8 files changed

+1090
-1060
lines changed

8 files changed

+1090
-1060
lines changed

astroquery/ipac/irsa/__init__.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
===============
55
66
This module contains various methods for querying the
7-
IRSA Catalog Query Service(CatQuery).
7+
IRSA Catalog Query Service(CatQuery) and the Moving
8+
Object Search Tool (MOST).
89
"""
910
from astropy import config as _config
1011

@@ -14,12 +15,19 @@ class Conf(_config.ConfigNamespace):
1415
Configuration parameters for `astroquery.ipac.irsa`.
1516
"""
1617

17-
server = _config.ConfigItem(
18+
irsa_server = _config.ConfigItem(
1819
'https://irsa.ipac.caltech.edu/cgi-bin/Gator/nph-query',
1920
'Name of the IRSA mirror to use.')
2021
gator_list_catalogs = _config.ConfigItem(
2122
'https://irsa.ipac.caltech.edu/cgi-bin/Gator/nph-scan',
2223
'URL from which to list all the public catalogs in IRSA.')
24+
most_server = _config.ConfigItem(
25+
'https://irsa.ipac.caltech.edu/cgi-bin/MOST/nph-most',
26+
'URL address of the MOST service.')
27+
most_interface_url = _config.ConfigItem(
28+
'https://irsa.ipac.caltech.edu/applications/MOST/',
29+
'URL address of the MOST application interface.'
30+
)
2331
row_limit = _config.ConfigItem(
2432
500,
2533
'Maximum number of rows to retrieve in result')
@@ -32,5 +40,6 @@ class Conf(_config.ConfigNamespace):
3240

3341

3442
from .core import Irsa, IrsaClass
43+
from .most import Most, MostClass
3544

36-
__all__ = ['Irsa', 'IrsaClass', 'Conf', 'conf', ]
45+
__all__ = ['Irsa', 'IrsaClass', 'Most', 'MostClass', 'Conf', 'conf', ]

astroquery/ipac/irsa/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118

119119
@async_to_sync
120120
class IrsaClass(BaseQuery):
121-
IRSA_URL = conf.server
121+
IRSA_URL = conf.irsa_server
122122
GATOR_LIST_URL = conf.gator_list_catalogs
123123
TIMEOUT = conf.timeout
124124
ROW_LIMIT = conf.row_limit

0 commit comments

Comments
 (0)