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-cicd
csst-dag
Commits
a41025b1
Commit
a41025b1
authored
Jul 10, 2025
by
BO ZHANG
🏀
Browse files
add force option for hstdm
parent
35796d08
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/cli/csst_hstdm_l1.py
View file @
a41025b1
...
@@ -54,6 +54,8 @@ parser.add_argument("--submit", action="store_true", help="Push results", defaul
...
@@ -54,6 +54,8 @@ parser.add_argument("--submit", action="store_true", help="Push results", defaul
parser
.
add_argument
(
parser
.
add_argument
(
"--final-prc-status"
,
type
=
int
,
help
=
"Final processing status"
,
default
=-
2
"--final-prc-status"
,
type
=
int
,
help
=
"Final processing status"
,
default
=-
2
)
)
# force option
parser
.
add_argument
(
"--force"
,
action
=
"store_true"
,
help
=
"Force success"
,
default
=
False
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
print
(
"CLI parameters: "
,
args
)
print
(
"CLI parameters: "
,
args
)
...
@@ -90,6 +92,7 @@ for dag in [
...
@@ -90,6 +92,7 @@ for dag in [
plan_basis
=
plan_basis
,
plan_basis
=
plan_basis
,
data_basis
=
data_basis
,
data_basis
=
data_basis
,
pmapname
=
args
.
pmapname
,
pmapname
=
args
.
pmapname
,
force_success
=
args
.
force
,
)
)
print
(
f
"- [
{
dag
}
] :
{
len
(
this_dag_run_list
)
}
dag_runs"
)
print
(
f
"- [
{
dag
}
] :
{
len
(
this_dag_run_list
)
}
dag_runs"
)
dag_run_list
.
extend
(
this_dag_run_list
)
dag_run_list
.
extend
(
this_dag_run_list
)
...
...
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