Skip to content

Commit

Permalink
Remove obsolete reference to wcs.hasDistortion()
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed Jul 3, 2018
1 parent 44497a4 commit 1688a6d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/lsst/meas/extensions/astrometryNet/anetAstrometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,8 @@ def fitWcs(initialWcs, title=None):
except lsst.pex.exceptions.LengthError as e:
self.log.warn("Unable to fit SIP: %s" % e)

self.log.info("Astrometric scatter: %f arcsec (%s non-linear terms, %d matches, %d rejected)" %
(scatter.asArcseconds(), "with" if wcs.hasDistortion() else "without",
len(matches), numRejected))
self.log.info("Astrometric scatter: %f arcsec (%d matches, %d rejected)" %
(len(matches), numRejected))
exposure.setWcs(wcs)

# Apply WCS to sources
Expand Down

0 comments on commit 1688a6d

Please sign in to comment.