Skip to content

Commit

Permalink
Fix lint again
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Dec 3, 2024
1 parent c41ee33 commit 723142a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/ap/association/packageAlerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def produceAlerts(self, alerts, visit, detector):
self.producer.flush()
visit_midpoint = Time(alert["diaSource"]["midpointMjdTai"], format='mjd', scale='utc')
produce_end_timestamp = int(time.time()) # Current time in seconds
total_time = produce_end_timestamp - visit_midpoint.unix_tai
total_time = produce_end_timestamp - visit_midpoint.unix_tai
# Assumed 15 seconds from midpoint and 2 second readout time
self.metadata['visit_midpoint'] = visit_midpoint.unix_tai + 15 + 2
self.metadata['produce_end_timestamp'] = produce_end_timestamp
Expand Down

0 comments on commit 723142a

Please sign in to comment.