Skip to content

Commit

Permalink
A question!
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Mar 21, 2024
1 parent 9f5896c commit 572f3d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/ip/diffim/dipoleFitTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,7 @@ def measureDipoles(self, measRecord, exposure, posExp=None, negExp=None):
):
measRecord.set(self.classificationFlagKey, False)
measRecord.set(self.classificationAttemptedFlagKey, False)
# TODO: Do we want to fail here, or just leave it marked as not fit?
self.fail(measRecord, measBase.MeasurementError('not a dipole', self.FAILURE_NOT_DIPOLE))
if not self.config.fitAllDiaSources:
measRecord[self.centroidKey.getX()] = measRecord["base_SdssCentroid_x"]
Expand Down

0 comments on commit 572f3d3

Please sign in to comment.