Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_astrom
-
Labels:None
-
Story Points:1
-
Epic Link:
-
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
Field | Original Value | New Value |
---|---|---|
Epic Link |
|
Story Points | 1 | |
Team | Alert Production [ 10300 ] |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Assignee | John Swinbank [ swinbank ] |
Reviewers | Chris Morrison [ cmorrison ] | |
Status | In Progress [ 3 ] | In Review [ 10004 ] |
Status | In Review [ 10004 ] | Reviewed [ 10101 ] |
Resolution | Done [ 10000 ] | |
Status | Reviewed [ 10101 ] | Done [ 10002 ] |
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/