Commit 768c563f authored by Wei Shoulin's avatar Wei Shoulin
Browse files

trilegal_091 and 093 support

parent f91d313f
...@@ -22,7 +22,7 @@ class CatalogApi(object): ...@@ -22,7 +22,7 @@ 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'): if not catalog_name or catalog_name not in ('gaia3', 'sim', 'trilegal_091','trilegal_093'):
raise Exception("catalog_name is not allowed") raise Exception("catalog_name is not allowed")
if not columns: if not columns:
raise Exception("columns is empty") raise Exception("columns is empty")
......
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