Skip to content

Commit

Permalink
Fix diaObject format for nearbyLowzGal column
Browse files Browse the repository at this point in the history
  • Loading branch information
isullivan committed Jan 26, 2025
1 parent 2ca6906 commit 3ffec1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/lsst/ap/association/testApdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,9 @@ def createNewDiaObjects(self, unAssocDiaSources):
# For this simulation we are using custom diaObjectIds,
# and need to preserve them.
# unAssocDiaSources["diaObjectId"] = unAssocDiaSources["diaSourceId"]
preserveColumns = ["diaObjectId", ]
preserveColumns = ["diaObjectId", "nearbyLowzGal"]
# Needs to be set for correct database formatting
unAssocDiaSources["nearbyLowzGal"] = None

# Fill the forced sources for each diaObject with random data
newDiaObjects = fillRandomTable(self.schema, unAssocDiaSources,
Expand Down

0 comments on commit 3ffec1a

Please sign in to comment.