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
a4f2850b
Commit
a4f2850b
authored
Jul 10, 2025
by
BO ZHANG
🏀
Browse files
add n_file_expected and n_file_found
parent
a5c06a4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/dag/_dispatcher.py
View file @
a4f2850b
...
...
@@ -284,6 +284,8 @@ class Dispatcher:
n_relevant_plan
=
len
(
this_relevant_plan
),
n_relevant_data
=
1
,
relevant_data_id_list
=
[
data_basis
[
i_data_basis
][
"_id"
]],
n_file_expected
=
1
,
n_file_found
=
1
,
)
)
...
...
@@ -403,6 +405,8 @@ class Dispatcher:
if
len
(
this_data_detector_files
)
==
0
else
list
(
this_data_detector_files
[
"_id_data"
])
),
n_file_expected
=
this_data_detector_plan
[
"n_frame"
].
sum
(),
n_file_found
=
len
(
this_data_detector_files
),
)
)
return
task_list
...
...
@@ -515,6 +519,8 @@ class Dispatcher:
if
len
(
this_data_obsid_file
)
==
0
else
list
(
this_data_obsid_file
[
"_id_data"
])
),
n_file_expected
=
this_data_obsid_plan
[
"n_frame"
].
sum
(),
n_file_found
=
len
(
this_data_obsid_file
),
)
)
...
...
@@ -609,6 +615,8 @@ class Dispatcher:
if
len
(
this_obsgroup_file
)
==
0
else
list
(
this_obsgroup_file
[
"_id_data"
])
),
n_file_expected
=
this_obsgroup_plan
[
"n_frame"
].
sum
(),
n_file_found
=
len
(
this_obsgroup_file
),
)
)
return
task_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