Commit a9e5e5b9 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

fixed n_file bug in plan_basis

parent 99f949fd
...@@ -177,6 +177,7 @@ class Dispatcher: ...@@ -177,6 +177,7 @@ class Dispatcher:
else: else:
this_n_file = len(_["params"]["exposure_start"]) this_n_file = len(_["params"]["exposure_start"])
else: else:
# count effective detectors of this instrument
this_n_file = len(csst[this_instrument].effective_detector_names) this_n_file = len(csst[this_instrument].effective_detector_names)
_["n_file"] = this_n_file _["n_file"] = this_n_file
except KeyError: except KeyError:
......
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