Skip to content

Commit fd8cf3b

Browse files
jaymedinaburnout87
authored andcommitted
adding class attribute: tic catalog
1 parent e9147ea commit fd8cf3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

astroquery/mast/collections.py

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

39+
_catalogs_filtered_tic = 'Mast.Catalogs.Filtered.Tic'
40+
3941
def __init__(self):
4042

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

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

0 commit comments

Comments
 (0)