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
70d25f8e
Commit
70d25f8e
authored
Jul 12, 2025
by
BO ZHANG
🏀
Browse files
add verbose option
parent
015a676e
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/cli/csst_msc_l1.py
View file @
70d25f8e
...
...
@@ -70,8 +70,9 @@ parser.add_argument("--submit", action="store_true", help="Push results", defaul
parser
.
add_argument
(
"--final-prc-status"
,
type
=
int
,
help
=
"Final processing status"
,
default
=-
2
)
#
force
option
#
additional
option
s
parser
.
add_argument
(
"--force"
,
action
=
"store_true"
,
help
=
"Force success"
,
default
=
False
)
parser
.
add_argument
(
"--verbose"
,
action
=
"store_true"
,
help
=
"Force success"
,
default
=
False
)
# submit top N
parser
.
add_argument
(
"--top-n"
,
type
=
int
,
help
=
"Submit top N tasks"
,
default
=-
1
...
...
@@ -161,13 +162,14 @@ for dag in SELECTED_DAGS:
print
(
f
"- `
{
dag
}
` : [
{
this_n_dag_run_success
}
/
{
this_n_dag_run_all
}
] dag_runs"
)
# print dag_group_run and dag_run_list
print
(
"
\n
"
)
print
(
">>> `dag_group_run` :"
)
print
(
f
"
\t
-
{
dag_group_run
}
"
)
print
(
f
">>> `dag_run_list` : [
{
n_dag_run_success
}
/
{
n_dag_run_all
}
]"
)
if
len
(
dag_run_list
)
>
0
:
for
dag_run
in
dag_run_list
:
print
(
f
"
\t
-
{
dag_run
}
"
)
if
args
.
verbose
:
print
(
"
\n
"
)
print
(
">>> `dag_group_run` :"
)
print
(
f
"
\t
-
{
dag_group_run
}
"
)
print
(
f
">>> `dag_run_list` : [
{
n_dag_run_success
}
/
{
n_dag_run_all
}
]"
)
if
len
(
dag_run_list
)
>
0
:
for
dag_run
in
dag_run_list
:
print
(
f
"
\t
-
{
dag_run
}
"
)
# dump dag_group_run
joblib
.
dump
(
...
...
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