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
8a008f7d
Commit
8a008f7d
authored
Jun 14, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
30e30945
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/dag/l1.py
View file @
8a008f7d
...
...
@@ -158,17 +158,16 @@ class GeneralL1DAG(BaseDAG):
obs_id
=
this_rec
[
"obs_id"
],
**
additional_keys
,
)
if
demo
:
print
(
json
.
dumps
(
this_dag_run
,
indent
=
4
),
end
=
""
)
# update level0 prc_status
this_update
=
level0
.
update_prc_status
(
level0_id
=
this_rec
[
"level0_id"
],
dag_run_id
=
this_dag_run
[
"dag_run_id"
],
prc_status
=
final_prc_status
,
dataset
=
dataset
,
)
assert
this_update
.
success
,
this_update
.
message
dag_run_list
.
append
(
this_dag_run
)
# update level0 prc_status
if
not
demo
:
this_update
=
level0
.
update_prc_status
(
level0_id
=
this_rec
[
"level0_id"
],
dag_run_id
=
this_dag_run
[
"dag_run_id"
],
prc_status
=
final_prc_status
,
dataset
=
dataset
,
)
assert
this_update
.
success
,
this_update
.
message
if
not
demo
:
# push and update
...
...
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