Skip to content

Commit b40c694

Browse files
jaymedinaburnout87
authored andcommitted
reverting some service calls back to string
1 parent fd8cf3b commit b40c694

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

astroquery/mast/collections.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class CatalogsClass(MastQueryWithLogin):
3636
Class for querying MAST catalog data.
3737
"""
3838

39-
_catalogs_filtered_tic = 'Mast.Catalogs.Filtered.Tic'
40-
4139
def __init__(self):
4240

4341
super().__init__()
@@ -273,7 +271,7 @@ def query_criteria_async(self, catalog, pagesize=None, page=None, **criteria):
273271
self._current_connection = self._portal_api_connection
274272

275273
if catalog.lower() == "tic":
276-
service = _catalogs_filtered_tic
274+
service = "Mast.Catalogs.Filtered.Tic"
277275
if coordinates or objectname:
278276
service += ".Position"
279277
service += ".Rows" # Using the rowstore version of the query for speed

astroquery/mast/discovery_portal.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ class PortalAPI(BaseQuery):
127127
_column_configs = dict()
128128
_current_service = None
129129

130-
tess_all_name = 'Mast.Catalogs.All.Tic'
131-
dd_all_name = 'Mast.Catalogs.All.Disk.Detective'
132-
133130
def __init__(self, session=None):
134131

135132
super(PortalAPI, self).__init__()
@@ -241,10 +238,10 @@ def _get_col_config(self, service, fetch_name=None):
241238

242239
more = False # for some catalogs this is not enough information
243240
if "tess" in fetch_name.lower():
244-
all_name = self.test_all_name
241+
all_name = "Mast.Catalogs.All.Tic"
245242
more = True
246243
elif "dd." in fetch_name.lower():
247-
all_name = self.dd_all_name
244+
all_name = "Mast.Catalogs.All.DiskDetective"
248245
more = True
249246

250247
if more:

0 commit comments

Comments
 (0)