From 03df40719629beff72c990a4a4efdd8d5f1b417e Mon Sep 17 00:00:00 2001 From: Jakob van Santen Date: Tue, 13 Feb 2024 06:01:47 +0100 Subject: [PATCH] Revert "Fill count field on archive insert" This reverts commit e03bae049e81be49619c775aa13faf0a9b1d364b. --- ampel/ztf/t0/ArchiveUpdater.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ampel/ztf/t0/ArchiveUpdater.py b/ampel/ztf/t0/ArchiveUpdater.py index 5db6744..e6a5afa 100755 --- a/ampel/ztf/t0/ArchiveUpdater.py +++ b/ampel/ztf/t0/ArchiveUpdater.py @@ -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