Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base
-
Labels:
-
Epic Link:
-
Team:Data Release Production
Description
The current meas_base framework does not allow algorithms to both set values in their measurement records and set the general failure flag, since on failure, the Result object is not returned to the framework code.
SdssShape in particular is written to set values in its record even when certain errors occur. For that reason, when one of these errors orccurs, it can be written either to have all its record values set except for the general error flag, or to only have the general error flag set.
I chose for testing purposes to not set the general error flag and instead test for failure using the disjunction of the other flags, but that is not a good long term solution.
Attachments
Issue Links
- duplicates
-
DM-464 add and use "suspect" flag in slots and slot-like measurements
- Won't Fix
Closing this as a duplicate of
DM-464