Commit cc7d3507 authored by Xin Zhang's avatar Xin Zhang
Browse files

star num

parent 8d4f245f
...@@ -130,8 +130,8 @@ class Observation(object): ...@@ -130,8 +130,8 @@ class Observation(object):
bright_obj = 0 bright_obj = 0
dim_obj = 0 dim_obj = 0
for j in range(self.nobj): for j in range(self.nobj):
if j >= 1: # if j >= 100:
break # break
obj = self.cat.objs[j] obj = self.cat.objs[j]
if obj.type == 'star' and self.config["run_option"]["galaxy_only"]: if obj.type == 'star' and self.config["run_option"]["galaxy_only"]:
continue continue
......
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