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']