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
e47c5513
Commit
e47c5513
authored
Jun 13, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
d7b79743
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/dag/_base_dag.py
View file @
e47c5513
...
@@ -73,7 +73,7 @@ class BaseDAG:
...
@@ -73,7 +73,7 @@ class BaseDAG:
assert
dag
in
DAG_LIST
,
f
"
{
dag
}
not in DAG_MAP"
assert
dag
in
DAG_LIST
,
f
"
{
dag
}
not in DAG_MAP"
# determine instrument
# determine instrument
self
.
instrument
=
dag
.
split
(
"-"
)[
1
]
# e.g., "MSC"
self
.
instrument
=
dag
.
split
(
"-"
)[
1
]
# e.g., "MSC"
assert
self
.
instrument
in
self
.
INSTRUMENT_ENUM
assert
self
.
instrument
in
self
.
INSTRUMENT_ENUM
,
self
.
instrument
# Load yaml and json config
# Load yaml and json config
yml_path
=
os
.
path
.
join
(
DAG_CONFIG_DIR
,
f
"
{
dag
}
.yml"
)
yml_path
=
os
.
path
.
join
(
DAG_CONFIG_DIR
,
f
"
{
dag
}
.yml"
)
...
...
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