Commit 11c35b13 authored by skamann's avatar skamann
Browse files

Fixed bug

parent 3d511e11
......@@ -1168,7 +1168,7 @@ class SourceSelector(object):
# find magnitude of brightest star in field of view, adjust maximum allowed magnitude if requested
min_mag = self.sources.mag[(self.sources.status == 2) & (distance_to_edge > 0)].min()
if max_mag is not None and max_mag < 0:
mag_mag = min_mag - max_mag
max_mag = min_mag - max_mag
logger.info('IDs of stars that fulfill criteria for PSF stars:')
logger.info(' ID| mag| d_edge [pixel]| shoulder_drop ')
......
Markdown is supported
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