Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7933

Port validate_drp to validate_base framework

    Details

    • Templates:
    • Story Points:
      9.8
    • Team:
      SQuaRE

      Description

      This refactors validate_drp to use the validate_base API (DM-7042).

      Main features are:

      1. All JSON serialization code is now in validate_base; validate_drp exclusively uses that API.
      2. 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.
      3. 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

            Activity

              People

              • Assignee:
                jsick Jonathan Sick
                Reporter:
                jsick Jonathan Sick
                Reviewers:
                Frossie Economou
                Watchers:
                Frossie Economou, Jonathan Sick
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel