Commit f50e86f3 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

fix a bug which has disabled the "out_cat_only" option

parent 88aea0d6
...@@ -99,6 +99,9 @@ class Observation(object): ...@@ -99,6 +99,9 @@ class Observation(object):
sim_steps = SimSteps(overall_config=self.config, chip_output=chip_output, all_filters=self.all_filters) sim_steps = SimSteps(overall_config=self.config, chip_output=chip_output, all_filters=self.all_filters)
for step in pointing.obs_param["call_sequence"]: for step in pointing.obs_param["call_sequence"]:
if self.config["run_option"]["out_cat_only"]:
if step != "scie_obs":
continue
chip_output.Log_info("Starting simulation step: %s, calling function: %s"%(step, SIM_STEP_TYPES[step])) chip_output.Log_info("Starting simulation step: %s, calling function: %s"%(step, SIM_STEP_TYPES[step]))
obs_param = pointing.obs_param["call_sequence"][step] obs_param = pointing.obs_param["call_sequence"][step]
step_name = SIM_STEP_TYPES[step] step_name = SIM_STEP_TYPES[step]
......
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