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

Unhelpful error message from PessimisticPatternMatcherB

    Details

    • Type: Bug
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: meas_astrom
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Team:
      Alert Production

      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

            People

            • Assignee:
              Unassigned
              Reporter:
              rhl Robert Lupton
              Watchers:
              Robert Lupton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel