Commit 69316d10 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

rm catalog_name limit

parent 806ae44d
Pipeline #7244 passed with stage
...@@ -22,10 +22,8 @@ class CatalogApi(object): ...@@ -22,10 +22,8 @@ class CatalogApi(object):
:returns: csst_dfs_common.models.Result :returns: csst_dfs_common.models.Result
''' '''
if not catalog_name or catalog_name not in ('gaia3', 'sim', 'trilegal_091','trilegal_093'):
raise Exception("catalog_name is not allowed")
if not columns: if not columns:
raise Exception("columns is empty") columns = ('*')
return self.stub.catalog_query(ra = ra, return self.stub.catalog_query(ra = ra,
dec = dec, dec = dec,
radius = radius, radius = radius,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment