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

Unhelpful error message from PessimisticPatternMatcherB

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Resolution: Done
    • None
    • meas_astrom
    • None

    Description

      The call PessimisticPatternMatcherB(ref_array[:, :3], self.log) in matchPessimisticB.py around line 387 generates the error message

      ValueError: negative dimensions are not allowed

      when ref_array is empty. Next time someone's in the code, could we improve the error message?  It happens when there are no possible matches from the reference catalogue.

      Attachments

        Activity

          Hey Chris, do you have time for a tiny review?

          PR: https://github.com/lsst/meas_astrom/pull/136
          Jenkins: https://ci.lsst.codes/job/stack-os-matrix/32040/

          swinbank John Swinbank added a comment - Hey Chris, do you have time for a tiny review? PR: https://github.com/lsst/meas_astrom/pull/136 Jenkins: https://ci.lsst.codes/job/stack-os-matrix/32040/
          swinbank John Swinbank added a comment - Re-Jenkins: https://ci.lsst.codes/job/stack-os-matrix/32100/
          swinbank John Swinbank added a comment - Re-re-Jenkins: https://ci.lsst.codes/blue/organizations/jenkins/stack-os-matrix/detail/stack-os-matrix/32102/

          Thanks Chris!

          swinbank John Swinbank added a comment - Thanks Chris!

          People

            swinbank John Swinbank
            rhl Robert Lupton
            Chris Morrison [X] (Inactive)
            Chris Morrison [X] (Inactive), John Swinbank, Robert Lupton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Jenkins

                No builds found.