Details
-
Type:
Improvement
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base
-
Labels:None
-
Team:Data Release Production
Description
calcmom does much of the work in SdssShape.cc, but it returns -1 if it fails for any reason. Please enhance it to raise an exception with an informative error message. That would also simplify the code that calls it, and make that code more robust.
Other code cleanups are also worth considering, since calcmon is C code with a n old C-style interface.
DM-30163addresses the error reporting issue. Closing this as a duplicate.