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

SelectionSet.load_single_package fails silently

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: verify
    • Labels:
      None

      Description

      When reading in the attached file via lsst.verify.SelectionSet.load_single_package, it returns an empty set. This means there is something wrong with the file, but the load fails silently. It should yell at me as to the issue with what I'm passing it.

        Attachments

          Activity

          Hide
          afausti Angelo Fausti added a comment -

          We clarified that the lsst.verify.SelectionSet.load_single_package method argument is a directory with the name of the package containing the specification YAML files for that package, instead of the name of the YAML file.

          For the sysver metrics we should create a git repository with the following structure:

          sysver_metrics/
             metrics/
                 <package_name>.yaml
            specs/
                <package_name>/
                     <spec_set_1>.yaml
                     <spect_set_2>.yaml
          

          Then we recommend using lsst.verify.MetricSet.load_metrics_package and lsst.verify.SpecificationSet.load_metrics_package methods which receive as argument the path to sysver_metrics in this case.

          Show
          afausti Angelo Fausti added a comment - We clarified that the lsst.verify.SelectionSet.load_single_package  method argument is a directory with the name of the package containing the specification YAML files for that package, instead of the name of the YAML file. For the sysver metrics we should create a git repository with the following structure: sysver_metrics/ metrics/ <package_name>.yaml specs/ <package_name>/ <spec_set_1>.yaml <spect_set_2>.yaml Then we recommend using lsst.verify.MetricSet.load_metrics_package and lsst.verify.SpecificationSet.load_metrics_package methods which receive as argument the path to sysver_metrics in this case.

            People

            • Assignee:
              afausti Angelo Fausti
              Reporter:
              mareuter Michael Reuter
              Watchers:
              Angelo Fausti, Michael Reuter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel