Skip to content

Commit

Permalink
Use processing time not visit time for diaObject validityStart
Browse files Browse the repository at this point in the history
  • Loading branch information
isullivan committed Nov 21, 2023
1 parent 97e3405 commit a50cdfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/ap/association/diaPipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

import pandas as pd

from lsst.daf.base import DateTime
import lsst.dax.apdb as daxApdb
from lsst.meas.base import DetectorVisitIdGeneratorConfig, DiaObjectCalculationTask
import lsst.pex.config as pexConfig
Expand Down Expand Up @@ -477,7 +478,7 @@ def run(self,
# Store DiaSources, updated DiaObjects, and DiaForcedSources in the
# Apdb.
self.apdb.store(
exposure.visitInfo.date,
DateTime.now(),
diaCalResult.updatedDiaObjects,
associatedDiaSources,
diaForcedSources)
Expand Down

0 comments on commit a50cdfb

Please sign in to comment.