Skip to content

Commit cb577bf

Browse files
committed
Prevent bug when writeStreakInfo=True
1 parent e68da09 commit cb577bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/lsst/ip/diffim/detectAndMeasure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ def processResults(self, science, matchedTemplate, difference, sources, idFactor
804804
measurementResults.subtractedMeasuredExposure = difference
805805

806806
if self.config.doMaskStreaks and self.config.writeStreakInfo:
807-
measurementResults.mergeItems(streakInfo, 'maskedStreaks')
807+
measurementResults.maskedStreaks = streakInfo.maskedStreaks
808808

809809
if kernelSources is not None:
810810
self.calculateMetrics(science, difference, diaSources, kernelSources)

0 commit comments

Comments
 (0)