Skip to content

Commit

Permalink
Add logging for when current day end in an open event
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisherlevine committed Jun 28, 2023
1 parent b84f150 commit b87884c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/summit/utils/tmaUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@ def _statesToEventTuples(self, states, dataIsForCurrentDay):
# come to close the event, so allow the event to be "open", and
# issue a warning
if dataIsForCurrentDay:
self.log.info("Discarding open (likely in-progess) final event from current day's events")
parsedStates = parsedStates[:-1]
else:
self.log.warning("Last event ends open, forcing it to end at end of the day's data")
Expand Down

0 comments on commit b87884c

Please sign in to comment.