From 8f0ea588da2be09c6a7974e58741440f2fc46c44 Mon Sep 17 00:00:00 2001 From: Clare Saunders Date: Mon, 6 Oct 2025 14:03:24 -0700 Subject: [PATCH] Prevent bug when writeStreakInfo=True --- python/lsst/ip/diffim/detectAndMeasure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/ip/diffim/detectAndMeasure.py b/python/lsst/ip/diffim/detectAndMeasure.py index 03ed20da7..8b7184568 100644 --- a/python/lsst/ip/diffim/detectAndMeasure.py +++ b/python/lsst/ip/diffim/detectAndMeasure.py @@ -804,7 +804,7 @@ def processResults(self, science, matchedTemplate, difference, sources, idFactor measurementResults.subtractedMeasuredExposure = difference if self.config.doMaskStreaks and self.config.writeStreakInfo: - measurementResults.mergeItems(streakInfo, 'maskedStreaks') + measurementResults.maskedStreaks = streakInfo.maskedStreaks if kernelSources is not None: self.calculateMetrics(science, difference, diaSources, kernelSources)