Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: QA
-
Labels:
-
Story Points:9.8
-
Epic Link:
-
Team:SQuaRE
Description
This refactors validate_drp to use the validate_base API (DM-7042).
Main features are:
- All JSON serialization code is now in validate_base; validate_drp exclusively uses that API.
- The validate_base API is slightly different from the version originally included in validate_drp. A significant change is the use of astropy quantities for serialized measurements.
- Refactored utility module to make it easier to follow computations. Functions directly associated with a measurement are included in that measurement's module. The calculations themselves are refactored into function independent of the measurement classes, again, to make it easier to follow the calculation.
Other features:
- pytest compatibility in tests
- summary pass/fail printout based on the --level argument
- remove unused functions
- improved documentation in the README
Attachments
Issue Links
- blocks
-
DM-7600 Pytest and Flake8 integration with CI and sconsUtils
- Done
-
DM-7328 Port validate_drp to Python 3
- Done
-
DM-8410 Make metrics for astrometric and photometric error models in validate_drp
- Won't Fix
- is blocked by
-
DM-7042 validate_base API refinement
- Done
- is triggering
-
DM-8411 Update post-qa shim for validate_base-formatted JSON
- Done
- relates to
-
DM-8711 Deploy validate_drp F16 work to Jenkins validate_drp Job
- Done
-
DM-8811 validate_drp should do something reasonable when presented with unknown filtername
- Won't Fix
CFHT example run outputs.