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.
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/