diff --git a/python/lsst/ts/wep/task/calcZernikesTask.py b/python/lsst/ts/wep/task/calcZernikesTask.py index ac470daa..02fe879d 100644 --- a/python/lsst/ts/wep/task/calcZernikesTask.py +++ b/python/lsst/ts/wep/task/calcZernikesTask.py @@ -286,7 +286,7 @@ def createZkTable( * u.pixel ) ) - for key in ["MAG", "SN", "ENTROPY"]: + for key in ["MAG", "SN", "ENTROPY", "FRAC_BAD_PIX"]: for stamps, foc in [ (intraStamps, "intra"), (extraStamps, "extra"), diff --git a/tests/task/test_calcZernikesTieTaskScienceSensor.py b/tests/task/test_calcZernikesTieTaskScienceSensor.py index 1f2d0248..fa6575dc 100644 --- a/tests/task/test_calcZernikesTieTaskScienceSensor.py +++ b/tests/task/test_calcZernikesTieTaskScienceSensor.py @@ -171,6 +171,8 @@ def testCalcZernikes(self): "extra_sn", "intra_entropy", "extra_entropy", + "intra_frac_bad_pix", + "extra_frac_bad_pix", ] self.assertLessEqual(set(desired_colnames), set(structNormal.zernikes.colnames))