Details
-
Type:
Story
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: jointcal
-
Labels:
-
Story Points:1
-
Epic Link:
-
Team:Alert Production
Description
Now that jointcal is running with full pytest-ness, there are a few runtime warnings that should be cleaned up.
On Linux I see a bunch of these:
tests/test_jointcal_hsc.py::JointcalTestHSC::test_jointcalTask_2_visits
|
/home/parejkoj/lsst/lsstsw/stack/Linux64/meas_algorithms/13.0-24-g22030a45+3/python/lsst/meas/algorithms/astrometrySourceSelector.py:137: RuntimeWarning: invalid value encountered in greater
|
return sourceCat.get(self.fluxKey)/sourceCat.get(self.fluxSigmaKey) > self.config.minSnr
|
I thought I was seeing some other ones on macOS; I'll add them if I can confirm.
There was a discussion about these (well, similar ones) on slack a while back. This is a change to how numpy reports warnings when NaN is in a calculation, and pandas have been hit with this. See
DM-11776.