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
67751d78
Commit
67751d78
authored
Jun 13, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
f539a8c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/dag/_base_dag.py
View file @
67751d78
...
...
@@ -80,7 +80,7 @@ class BaseDAG:
json_path
=
os
.
path
.
join
(
DAG_CONFIG_DIR
,
f
"
{
dag
}
.json"
)
with
open
(
yml_path
,
"r"
)
as
f
:
self
.
dag_cfg
=
yaml
.
safe_load
(
f
)
[
0
]
self
.
dag_cfg
=
yaml
.
safe_load
(
f
)
assert
(
self
.
dag_cfg
[
"name"
]
==
self
.
dag
),
f
"
{
self
.
dag_cfg
[
'name'
]
}
!=
{
self
.
dag
}
"
# , f"{dag_cfg} not consistent with definition in .yml file."
...
...
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