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

fix bug with out_cat_only option

parent e2976f19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ class Observation(object):
                try:
                    if self.config["run_option"]["out_cat_only"]:
                        isUpdated = True
                    if chip.survey_type == "photometric" and not self.config["run_option"]["out_cat_only"]:
                    elif chip.survey_type == "photometric" and not self.config["run_option"]["out_cat_only"]:
                        isUpdated, pos_shear = obj.drawObj_multiband(
                            tel=self.tel,
                            pos_img=pos_img,