diff --git a/tests/utils.py b/tests/utils.py index 6b4cd75d..d275f3a8 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -878,6 +878,9 @@ def detectTestSources(exposure, addMaskPlanes=None): addMaskPlanes = ["STREAK", "INJECTED", "INJECTED_TEMPLATE"] schema = afwTable.SourceTable.makeMinimalSchema() + + # Add coordinate error fields: + afwTable.CoordKey.addErrorFields(schema) selectDetection = measAlg.SourceDetectionTask(schema=schema) selectMeasurement = measBase.SingleFrameMeasurementTask(schema=schema) table = afwTable.SourceTable.make(schema)