esheldon / metadetect

Library for meta-detection, combining detection and metacalibration
Other
11 stars 5 forks source link

guard against wsum <= 0 #185

Closed esheldon closed 2 years ago

esheldon commented 2 years ago

If wsum is zero we will return None and perform no measurements in measure.py

https://github.com/esheldon/metadetect/blob/209ae7939a7df2991c1866ca26491f0739790042/metadetect/lsst/util.py#L413