Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-api
Commits
768c563f
Commit
768c563f
authored
Oct 28, 2024
by
Wei Shoulin
Browse files
trilegal_091 and 093 support
parent
f91d313f
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_dfs_api/common/catalog.py
View file @
768c563f
...
...
@@ -22,7 +22,7 @@ class CatalogApi(object):
: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"
)
if
not
columns
:
raise
Exception
(
"columns is empty"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment