Skip to content

Commit

Permalink
Fix linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscb committed Apr 6, 2021
1 parent e42139c commit 5953b8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/lsst/ap/association/packageAlerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def createDiaSourceExtent(self, bboxSize):
"""
if bboxSize < self.config.minCutoutSize:
extent = geom.Extent2I(self.config.minCutoutSize,
self.config.minCutoutSize)
self.config.minCutoutSize)
else:
extent = geom.Extent2I(bboxSize, bboxSize)
return extent
Expand Down
2 changes: 1 addition & 1 deletion tests/test_packageAlerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def testCreateExtent(self):
extent = packageAlerts.createDiaSourceExtent(
packConfig.minCutoutSize - 5)
self.assertTrue(extent == geom.Extent2I(packConfig.minCutoutSize,
packConfig.minCutoutSize))
packConfig.minCutoutSize))
# Test that the cutout size is correct.
extent = packageAlerts.createDiaSourceExtent(self.cutoutSize)
self.assertTrue(extent == geom.Extent2I(self.cutoutSize,
Expand Down

0 comments on commit 5953b8a

Please sign in to comment.