Skip to content

Commit 3ffec1a

Browse files
committed
Fix diaObject format for nearbyLowzGal column
1 parent 2ca6906 commit 3ffec1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/lsst/ap/association/testApdb.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,9 @@ def createNewDiaObjects(self, unAssocDiaSources):
511511
# For this simulation we are using custom diaObjectIds,
512512
# and need to preserve them.
513513
# unAssocDiaSources["diaObjectId"] = unAssocDiaSources["diaSourceId"]
514-
preserveColumns = ["diaObjectId", ]
514+
preserveColumns = ["diaObjectId", "nearbyLowzGal"]
515+
# Needs to be set for correct database formatting
516+
unAssocDiaSources["nearbyLowzGal"] = None
515517

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

0 commit comments

Comments
 (0)