Skip to content

Commit

Permalink
flake8 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeyers314 committed Feb 9, 2024
1 parent 7a9244f commit 175349e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions python/lsst/summit/utils/peekExposure.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ def _doComputeApertureFlux(self, radius, position=None, color=None):
def __eq__(self, rhs):
if isinstance(rhs, DonutPsf):
return (
self.size == rhs.size
and self.outerRad == rhs.outerRad
and self.innerRad == rhs.innerRad
self.size == rhs.size and
self.outerRad == rhs.outerRad and
self.innerRad == rhs.innerRad
)
return False

Expand Down Expand Up @@ -290,8 +290,8 @@ class PeekTask(pipeBase.Task):
- detects sources
- measures sources
Designed to be quick at the expense of primarily completeness, but also to a
lesser extent accuracy.
Designed to be quick at the expense of primarily completeness, but also to
a lesser extent accuracy.
"""

ConfigClass = PeekTaskConfig
Expand Down Expand Up @@ -598,7 +598,7 @@ def setDefaults(self):
self.peek.measurement.slots.apFlux = "base_CircularApertureFlux_70_0"
# Also allow a larger distance to peak for centroiding in case there's
# a relatively large saturated region.
self.peek.measurement.plugins['base_SdssCentroid'].maxDistToPeak=15.0
self.peek.measurement.plugins['base_SdssCentroid'].maxDistToPeak = 15.0


class PeekSpecTask(pipeBase.Task):
Expand Down Expand Up @@ -707,9 +707,9 @@ class PeekExposureTaskConfig(pexConfig.Config):


class PeekExposureTask(pipeBase.Task):
""" Peek at exposure to quickly detect and measure both the brightest source
in the image, and a set of sources representative of the exposure's overall
image quality.
""" Peek at exposure to quickly detect and measure both the brightest
source in the image, and a set of sources representative of the
exposure's overall image quality.
Parameters
----------
Expand Down

0 comments on commit 175349e

Please sign in to comment.