Skip to content

Commit

Permalink
MultiBandReferences doesn't require coaddName=chisq
Browse files Browse the repository at this point in the history
MultiBandReferences can't delegate its config validation
directly to CoaddSrcReferences, because that includes a
check for chi-squared coadd that we don't want.
  • Loading branch information
TallJimbo committed Dec 16, 2014
1 parent 2218b2e commit 14efa55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/pipe/tasks/references.py
Expand Up @@ -220,7 +220,8 @@ def validate(self):
if self.filter is not None:
raise FieldValidationError(field=MultiBandReferencesConfig.filter, config=self,
msg="Filter should not be set for the multiband processing scheme")
CoaddSrcReferencesTask.validate(self)
# Delegate to ultimate base class, because the direct one has a check we don't want.
BaseReferencesTask.ConfigClass.validate(self)


class MultiBandReferencesTask(CoaddSrcReferencesTask):
Expand Down

0 comments on commit 14efa55

Please sign in to comment.