Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
8 months ago
by
Wei Shoulin
Browse files
Options
Download
Email Patches
Plain Diff
rm catalog_name limit
parent
806ae44d
main
No related merge requests found
Pipeline
#7244
passed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_dfs_api/common/catalog.py
+1
-3
csst_dfs_api/common/catalog.py
with
1 addition
and
3 deletions
+1
-3
csst_dfs_api/common/catalog.py
+
1
-
3
View file @
69316d10
...
...
@@ -22,10 +22,8 @@ class CatalogApi(object):
: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
:
raise
Exception
(
"columns is empty"
)
columns
=
(
'*'
)
return
self
.
stub
.
catalog_query
(
ra
=
ra
,
dec
=
dec
,
radius
=
radius
,
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets