Skip to content

Commit

Permalink
Fix flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
fred3m committed Mar 13, 2024
1 parent 15f503b commit 131a605
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/meas/extensions/scarlet/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,8 @@ def updateBlendRecords(blendData, catalog, modelPsf, observedPsf, maskImage, red
xy0=xy0,
useFlux=useFlux,
)
except:
except Exception as e:
logger.warn(e)
zeroFlux = True
# Add the location of the source to the peak catalog
peakCat = PeakCatalog(source.detectedPeak.table)
Expand Down

0 comments on commit 131a605

Please sign in to comment.