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

duplicate keys in obs_base/policy/datasets.yaml

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_base
    • Labels:
    • Templates:
    • Story Points:
      1
    • Team:
      Data Release Production

      Description

      For example: 'processCcd_config' and `characterizeImage_config` both occur twice. Maybe others?

      Not a problem right now since the values are the same for a given key (at least for the two examples above), but could lead to errors in the future if, for example, second entry overrides the first.

      Should probably use a yaml loader that would raise an exception on duplicate keys, e.g., https://gist.github.com/pypt/94d747fe5180851196eb

        Attachments

          Activity

            People

            • Assignee:
              csaunder Clare Saunders
              Reporter:
              jmeyers314 Joshua Meyers
              Reviewers:
              Lee Kelvin
              Watchers:
              Clare Saunders, Joshua Meyers, Lee Kelvin
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel