Skip to content

Commit

Permalink
Improve logging of APDB write.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Jul 20, 2024
1 parent b294a5e commit 884708c
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 @@ -569,7 +569,7 @@ def run(self,

# Store DiaSources, updated DiaObjects, and DiaForcedSources in the
# Apdb.
self.log.info(f"Updating {len(diaForcedSources)} diaForcedSources from the APDB")
self.log.info(f"Updating {len(diaForcedSources)} diaForcedSources in the APDB")
diaForcedSources = convertTableToSdmSchema(self.schema, diaForcedSources,
tableName="DiaForcedSource",
)
Expand All @@ -582,6 +582,7 @@ def run(self,
diaObjectStore,
diaSourceStore,
diaForcedSourceStore)
self.log.info("APDB updated.")

if self.config.doPackageAlerts:
if len(loaderResult.diaForcedSources) > 1:
Expand Down

0 comments on commit 884708c

Please sign in to comment.