Skip to content

Commit

Permalink
Add logging of written chi2 filename
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Feb 27, 2019
1 parent 017b3f4 commit 8da17c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/jointcal/jointcal.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@ def _logChi2AndValidate(self, associations, fit, model, chi2Label="Model",
raise ValueError("Model is not valid: check log messages for warnings.")
if writeChi2Name is not None:
fit.saveChi2Contributions(writeChi2Name+"{type}")
self.log.info("Wrote chi2 contributions files: %s"%writeChi2Name)
return chi2

def _fit_photometry(self, associations, dataName=None):
Expand Down

0 comments on commit 8da17c4

Please sign in to comment.