Commit 015a676e authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

determine HSTDM n_file

parent 737aa104
...@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment