Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_extensions_simpleShape
-
Labels:None
-
Story Points:0.5
-
Team:Data Release Production
Description
simpleShape can be verbose due to throwing pex::exceptions::RuntimeError. Throwing meas::base::MeasurementError would make it quieter.
Ian Sullivan, would you review this, please?
pprice@tiger-sumire:/tigress/pprice/focusSweeps/meas_extensions_simpleShape (tickets/DM-9011=) $ git sub
commit 93df049d84e56060b53fe0b277e442f65a701076
Author: Paul Price <price@astro.princeton.edu>
Date: Tue Jan 17 14:14:04 2017 -0500
quiet errors by using MeasurementError
The measurement framework traps this error and uses it to set
a flag. The RuntimeError isn't recognised and therefore results
in messages printed.
src/simpleShape.cc | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
commit 71048f04ca454adb34320b62a477f7300cdffa1e
Author: Paul Price <price@astro.princeton.edu>
Date: Tue Jan 17 14:16:08 2017 -0500
git: ignore generated docs
.gitignore | 1 +
1 file changed, 1 insertion(+)