Skip to content

Commit

Permalink
Update sex_analisis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
piexpiex authored Sep 28, 2021
1 parent f32659b commit e46b218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CFC_configuration/python_scripts/sex_analisis.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,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 e46b218

Please sign in to comment.