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
5cd9e1e4
Commit
5cd9e1e4
authored
Jun 14, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
3f5bef29
Changes
2
Show whitespace changes
Inline
Side-by-side
csst_dag/cli/msc.py
View file @
5cd9e1e4
...
@@ -62,9 +62,9 @@ if args.obs_type:
...
@@ -62,9 +62,9 @@ if args.obs_type:
DAG_MAP
=
{
args
.
obs_type
:
DAG_MAP
[
args
.
obs_type
]}
DAG_MAP
=
{
args
.
obs_type
:
DAG_MAP
[
args
.
obs_type
]}
for
obs_type
,
dags
in
DAG_MAP
.
items
():
for
obs_type
,
dags
in
DAG_MAP
.
items
():
print
(
f
"
*
Processing `
{
obs_type
}
`"
)
print
(
f
"
-
Processing `
{
obs_type
}
`"
)
for
this_dag
in
dags
:
for
this_dag
in
dags
:
print
(
f
"
- Scheduling
`
{
this_dag
}
`"
)
print
(
f
"
*
`
{
this_dag
}
`
: "
,
end
=
"
"
)
dag
=
CsstDAGs
().
get
(
this_dag
)
dag
=
CsstDAGs
().
get
(
this_dag
)
dag_group_run
,
dag_run_list
=
dag
.
schedule
(
dag_group_run
,
dag_run_list
=
dag
.
schedule
(
batch_id
=
args
.
batch_id
,
batch_id
=
args
.
batch_id
,
...
...
csst_dag/dag/l1.py
View file @
5cd9e1e4
...
@@ -179,9 +179,9 @@ class GeneralL1DAG(BaseDAG):
...
@@ -179,9 +179,9 @@ class GeneralL1DAG(BaseDAG):
if
not
demo
:
if
not
demo
:
# push and update
# push and update
res_push
=
self
.
push_dag_group_run
(
dag_group_run
,
dag_run_list
)
res_push
=
self
.
push_dag_group_run
(
dag_group_run
,
dag_run_list
)
print
(
f
"
*
{
len
(
dag_run_list
)
}
DAG runs ->
{
res_push
}
"
)
print
(
f
"
{
len
(
dag_run_list
)
}
DAG runs ->
{
res_push
}
"
)
assert
res_push
.
success
,
res_push
.
message
assert
res_push
.
success
,
res_push
.
message
else
:
else
:
# no push
# no push
print
(
f
"
*
{
len
(
dag_run_list
)
}
DAG runs."
)
print
(
f
"
{
len
(
dag_run_list
)
}
DAG runs."
)
return
dag_group_run
,
dag_run_list
return
dag_group_run
,
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