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-pipeline
csst_common
Commits
43daf735
Commit
43daf735
authored
Jan 12, 2026
by
BO ZHANG
🏀
Browse files
add query_ref_cat
parent
f5871d4d
Pipeline
#11824
passed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
csst_common/pipeline.py
View file @
43daf735
...
@@ -400,7 +400,7 @@ class Pipeline:
...
@@ -400,7 +400,7 @@ class Pipeline:
def
ref_cat
(
self
)
->
None
|
str
:
def
ref_cat
(
self
)
->
None
|
str
:
"""Final DFS catalog name."""
"""Final DFS catalog name."""
task_ref_cat
=
self
.
task
.
get
(
"ref_cat"
,
None
)
task_ref_cat
=
self
.
task
.
get
(
"ref_cat"
,
None
)
if
task_ref_cat
and
task_ref_cat
in
self
.
dfs1
.
catalog
.
all_catalog_names
:
if
task_ref_cat
and
task_ref_cat
in
self
.
dfs1
.
catalog
.
all_catalog_names
()
:
# task specified catalog
# task specified catalog
return
task_ref_cat
return
task_ref_cat
else
:
else
:
...
...
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