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
37e51c56
Commit
37e51c56
authored
Jan 05, 2026
by
BO ZHANG
🏀
Browse files
update Pipeline.pmapname
parent
ae037f37
Pipeline
#11701
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_common/pipeline.py
View file @
37e51c56
...
...
@@ -329,10 +329,13 @@ class Pipeline:
def
pmapname
(
self
):
"""Final CCDS `.pmap` name."""
task_pmapname
=
self
.
task
.
get
(
"pmapname"
,
None
)
# TODO: validate this pmapname
if
task_pmapname
and
self
.
ccds
.
validate
(
task_pmapname
):
# task specified pmap
return
task_pmapname
if
task_pmapname
:
if
self
.
ccds
.
validate
(
task_pmapname
):
# task specified pmap
return
task_pmapname
else
:
self
.
ccds
.
list
()
raise
ValueError
(
f
"Invalid pmapname:
{
task_pmapname
}
"
)
else
:
# CCDS recommended pmap
return
self
.
ccds
.
operational_context
...
...
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