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

Add tests for order of flags to all measurment plugins

    Details

    • Type: Story
    • Status: Won't Fix
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_base
    • Labels:
      None
    • Templates:
    • Story Points:
      3
    • Sprint:
      DRP S17-3
    • Team:
      Data Release Production

      Description

      In the meas_base framework, we independently define an enumeration of available flags (e.g.) and a set of table fields for storing flags (e.g.). We implicitly assume that these are declared in the same order, but do not, in general, enforce this.

      In DM-6561, these were found not to be in the same order in meas_extensions_photometryKron. Setting a flag based on a bad result would therefore set the wrong flag in the output table.

      In the DM-6561 solution, we introduced a test for this which is specific to the photometryKron codebase. However, the basic structure of the test would be easily extended to cover all meas_base plugins to ensure this error can never occur. Do so.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  pgee Perry Gee
                  Reporter:
                  swinbank John Swinbank
                  Watchers:
                  Jim Bosch, John Swinbank, Perry Gee
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel