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

determine HSTDM n_file

parent 737aa104
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -693,8 +693,8 @@ class Dispatcher:
                if this_instrument == "HSTDM":
                    # 不确定以后是1个探测器还是2个探测器
                    this_n_file_found = len(this_obsgroup_obsid_file)
                    this_n_file_expected = (this_n_file, this_n_file * 2)
                    this_success &= this_n_file_found in this_n_file_expected
                    this_n_file_expected = this_n_file
                    this_success &= this_n_file_found == this_n_file_expected
                else:
                    # for other instruments, e.g., MSC
                    # n_file_found = len(this_obsgroup_obsid_file)