Skip to content

Commit

Permalink
Revert "Fill count field on archive insert"
Browse files Browse the repository at this point in the history
This reverts commit e03bae0.
  • Loading branch information
jvansanten committed Feb 13, 2024
1 parent ffbedf3 commit 03df407
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ampel/ztf/t0/ArchiveUpdater.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ def _insert_alert(self, conn, alert, partition_id=0, ingestion_time=0):
):
if len(rows) > 0:
self._update_history(conn, label, rows, alert_id)

if forced_photometry := alert.get("fp_hists", []):
self._update_history(conn, "fp_hist", forced_photometry, alert_id)

return True

Expand Down

0 comments on commit 03df407

Please sign in to comment.