Skip to content

Commit

Permalink
Add back () to straylight date check
Browse files Browse the repository at this point in the history
  • Loading branch information
yalsayyad committed Jan 16, 2020
1 parent adb59f5 commit dc26343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/obs/subaru/strayLight/yStrayLight.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def check(self, exposure):
if detId in range(104, 112):
# No correction data: assume it's zero
return False
if exposure.getInfo().getVisitInfo().getDate().toPython >= datetime.datetime(2018, 1, 1):
if exposure.getInfo().getVisitInfo().getDate().toPython() >= datetime.datetime(2018, 1, 1):
# LEDs causing the stray light have been covered up.
# We believe there is no remaining stray light.
return False
Expand Down

0 comments on commit dc26343

Please sign in to comment.