Skip to content

Commit

Permalink
fixup: validate doInterp
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi authored Sep 17, 2024
1 parent b1b94a8 commit 65a4e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/drp/tasks/assemble_coadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def validate(self):
super().validate()
if self.doInterp and self.statistic not in ["MEAN", "MEDIAN", "MEANCLIP", "VARIANCE", "VARIANCECLIP"]:
raise pexConfig.FieldValidationError(
self.__class__.statistic,
self.__class__.doInterp,
self,
f"Must set doInterp=False for statistic={self.statistic}, which does not "
"compute and set a non-zero coadd variance estimate.",
Expand Down

0 comments on commit 65a4e1d

Please sign in to comment.