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

Crash when running ap_pipe on calexp templates

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ap_verify
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      AP S19-6
    • Team:
      Alert Production

      Description

      Trying to call ap_pipe on ap_verify_hits2015 with a calexp template crashes with an error. This appears to be caused by the change to ImageDifferenceTask.refObjLoader in DM-10242, and can be fixed by explicitly configuring config.differencer.refObjLoader in ApPipeTaskConfig. In hindsight, this means that we were previously testing calexp templates using a different reference catalog for ProcessCcdTask and ImageDifferenceTask!

      Although this issue should never come up in ap_verify work (the loader subtask is created only if config.differencer.doSelectSources = True), we use modified versions of the dataset configs frequently enough that we should probably configure config.differencer.refObjLoader in ap_verify_hits2015 and ap_verify_ci_hits2015. This will prevent unexpected crashes when other config parameters get overridden on the command line.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krzys Krzysztof Findeisen
                Reporter:
                krzys Krzysztof Findeisen
                Reviewers:
                Meredith Rawls
                Watchers:
                Gabor Kovacs, Krzysztof Findeisen, Meredith Rawls
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel