Skip to content

Commit b044f00

Browse files
bug fix where High ellipticity was always returned regardless of the value.
1 parent 034b8f3 commit b044f00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

geminidr/gemini/primitives_qa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ def report(self, results, header=None):
12481248
body.append(('(Requested IQ could not be determined)', ''))
12491249

12501250
# allow comparison if "elip" is None
1251-
if results.get("elip") or 0 > 0.1:
1251+
if result.get("elip") != None and results.get("elip", 0) > 0.1:
12521252
body.append(('', 'WARNING: high ellipticity'))
12531253
self.comments.append('High ellipticity')
12541254
if 'NON_SIDEREAL' in self.ad_tags:

0 commit comments

Comments
 (0)