Skip to content

Commit

Permalink
Merge pull request #33 from lsst/tickets/DM-38499
Browse files Browse the repository at this point in the history
DM-38499: Fix whitespace problem found by flake8 v6
  • Loading branch information
timj committed Jul 13, 2023
2 parents 8696813 + 3d4988c commit dbf26bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/lsst/atmospec/dispersion.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, observedLines, spectralLines):
self.pix2wlCoeffs = self._calcCoefficients()

def _calcCoefficients(self):
if((self.observedLines is None) or (self.spectralLines is None)):
if (self.observedLines is None) or (self.spectralLines is None):
self.log.warn('Missing input for _calcCoefficients, default transformation: 1 to 1 ')
self.observedLines = [1, 2]
self.spectralLines = [1, 2]
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/atmospec/processStar.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ def calcSpectrumBBox(self, exp, centroid, aperture, order='+1'):
sourceX = centroid[0]
sourceY = centroid[1]

if(order == '-1'):
if order == '-1':
translate_y = - extent - self.config.offsetFromMainStar

xStart = sourceX - halfWidth
Expand Down

0 comments on commit dbf26bc

Please sign in to comment.