From 4cd64f7e1c29cb631003e22500ed6c7b3485800d Mon Sep 17 00:00:00 2001 From: Jakob T McCann Date: Wed, 20 Sep 2023 12:14:07 -0700 Subject: [PATCH] draft --- python/lsst/pipe/tasks/calibrate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/lsst/pipe/tasks/calibrate.py b/python/lsst/pipe/tasks/calibrate.py index f0654570d..0abec5a9a 100644 --- a/python/lsst/pipe/tasks/calibrate.py +++ b/python/lsst/pipe/tasks/calibrate.py @@ -311,8 +311,8 @@ def setDefaults(self): # The photoRefCat connection is the name to use for the colorterms. self.photoCal.photoCatName = self.connections.photoRefCat # Set injected pixel flags. - self.calibrate.measurement.plugins["base_PixelFlags"].masksFpAnywhere.append("INJECTED") - self.calibrate.measurement.plugins["base_PixelFlags"].masksFpCenter.append("INJECTED_CORE") + self.measurement.plugins["base_PixelFlags"].masksFpAnywhere.append("INJECTED") + self.measurement.plugins["base_PixelFlags"].masksFpCenter.append("INJECTED_CORE") # Keep track of which footprints contain streaks self.measurement.plugins['base_PixelFlags'].masksFpAnywhere = ['STREAK']