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
69316d10
Commit
69316d10
authored
Nov 05, 2024
by
Wei Shoulin
Browse files
rm catalog_name limit
parent
806ae44d
Pipeline
#7244
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_api/common/catalog.py
View file @
69316d10
...
@@ -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
,
...
...
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