Skip to content

Commit

Permalink
Update sex_analisis_saved.py
Browse files Browse the repository at this point in the history
  • Loading branch information
piexpiex authored Sep 28, 2021
1 parent e46b218 commit b60d059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CFC_configuration/python_scripts/sex_analisis_saved.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
for i in range(len(objects)):
if objects[i][FLUX_MAX]>FLUX_SATURATION and listaok[i]==1.0:
listaok[i]=2
elif (int(float(objects[i][FLAGS]/4)) % 2)==1:
elif (int(float(objects[i][FLAGS]/4)) % 2)==1 and listaok[i]==1.0:
listaok[i]=2

#Double check for no linear weak sources (they were taken as real sources)
Expand Down

0 comments on commit b60d059

Please sign in to comment.