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

Template retrieval KeyError

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ip_diffim
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      AP F20-4 (September)
    • Team:
      Alert Production
    • Urgent?:
      No

      Description

      During DM-26567, a check to ensure the template patch number is in the available coadds was accidentally removed from the run method. This caused differencing to fail with a KeyError when it reached the template retrieval stage, e.g.,

       getTemplate.py", line 296, in run
       coaddPatch = sensorRef.get(**availableCoaddRefs[patchNumber])
       KeyError: 70

      This ticket is to put the check back so this error goes away.

        Attachments

          Activity

          Hide
          mrawls Meredith Rawls added a comment -

          My ap_pipe rerun is working now! (or at least it's hitting errors after differencing, which sounds as working for the purposes of this ticket)

          Jenkins in progress: https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/32611/pipeline 

          Show
          mrawls Meredith Rawls added a comment - My ap_pipe rerun is working now! (or at least it's hitting errors after differencing, which sounds as working for the purposes of this ticket) Jenkins in progress: https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/32611/pipeline  
          Hide
          sullivan Ian Sullivan added a comment -

          Thanks for the quick fix!

          Show
          sullivan Ian Sullivan added a comment - Thanks for the quick fix!

            People

            • Assignee:
              mrawls Meredith Rawls
              Reporter:
              mrawls Meredith Rawls
              Reviewers:
              Ian Sullivan
              Watchers:
              Ian Sullivan, Meredith Rawls
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: