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
a767372a
Commit
a767372a
authored
Oct 28, 2025
by
BO ZHANG
🏀
Browse files
update dispatch_obsgroup_detector: append task only if success
parent
b18ad976
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_dag/dag/_dispatcher.py
View file @
a767372a
...
...
@@ -345,6 +345,7 @@ class Dispatcher:
this_instrument
=
this_obsgroup_plan_basis
[
"instrument"
][
0
]
effective_detector_names
=
csst
[
this_instrument
].
effective_detector_names
# loop over effective detectors
for
this_effective_detector_name
in
effective_detector_names
:
this_task
=
dict
(
dataset
=
this_obsgroup_plan_basis
[
"dataset"
][
0
],
...
...
@@ -386,7 +387,8 @@ class Dispatcher:
# set n_file_expected and n_file_found
this_task
[
"n_file_expected"
]
=
n_file_expected
this_task
[
"n_file_found"
]
=
n_file_found
# append this task
# append this task if this_success
if
this_success
:
task_list
.
append
(
dict
(
task
=
this_task
,
...
...
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