diff --git a/python/lsst/ap/verify/testPipeline.py b/python/lsst/ap/verify/testPipeline.py index efe47257..fdbe9dbe 100644 --- a/python/lsst/ap/verify/testPipeline.py +++ b/python/lsst/ap/verify/testPipeline.py @@ -26,7 +26,7 @@ # to be public for that. __all__ = [] - +import astropy.table import numpy as np import pandas @@ -432,6 +432,7 @@ def run(self, science, matchedTemplate, difference, """ return Struct(subtractedMeasuredExposure=difference, diaSources=afwTable.SourceCatalog(), + spatiallySampledMetrics=astropy.table.Table(), ) diff --git a/tests/test_testPipeline.py b/tests/test_testPipeline.py index 8e377a41..5430cd30 100644 --- a/tests/test_testPipeline.py +++ b/tests/test_testPipeline.py @@ -121,6 +121,8 @@ def setUpClass(cls): butlerTests.addDatasetType(cls.repo, "deepDiff_matchedExp", cls.visitId.dimensions, "ExposureF") butlerTests.addDatasetType(cls.repo, "deepDiff_diaSrc", cls.visitId.dimensions, "SourceCatalog") butlerTests.addDatasetType(cls.repo, "deepDiff_diaSrcTable", cls.visitId.dimensions, "DataFrame") + butlerTests.addDatasetType(cls.repo, "deepDiff_spatiallySampledMetrics", cls.visitId.dimensions, + "ArrowAstropy") butlerTests.addDatasetType(cls.repo, "deepDiff_candidateDiaSrc", cls.visitId.dimensions, "SourceCatalog") butlerTests.addDatasetType(cls.repo, "visitSsObjects", cls.visitOnlyId.dimensions, "DataFrame") @@ -252,6 +254,7 @@ def testMockDetectAndMeasureTask(self): "difference": self.visitId, "diaSources": self.visitId, "subtractedMeasuredExposure": self.visitId, + "spatiallySampledMetrics": self.visitId, }) pipelineTests.runTestQuantum(task, self.butler, quantum, mockRun=False)