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
015a676e
Commit
015a676e
authored
Jul 12, 2025
by
BO ZHANG
🏀
Browse files
determine HSTDM n_file
parent
737aa104
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/dag/_dispatcher.py
View file @
015a676e
...
@@ -693,8 +693,8 @@ class Dispatcher:
...
@@ -693,8 +693,8 @@ class Dispatcher:
if
this_instrument
==
"HSTDM"
:
if
this_instrument
==
"HSTDM"
:
# 不确定以后是1个探测器还是2个探测器
# 不确定以后是1个探测器还是2个探测器
this_n_file_found
=
len
(
this_obsgroup_obsid_file
)
this_n_file_found
=
len
(
this_obsgroup_obsid_file
)
this_n_file_expected
=
(
this_n_file
,
this_n_file
*
2
)
this_n_file_expected
=
this_n_file
this_success
&=
this_n_file_found
in
this_n_file_expected
this_success
&=
this_n_file_found
==
this_n_file_expected
else
:
else
:
# for other instruments, e.g., MSC
# for other instruments, e.g., MSC
# n_file_found = len(this_obsgroup_obsid_file)
# n_file_found = len(this_obsgroup_obsid_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