Skip to content

Commit

Permalink
Update ref schema making function
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsaunders committed Dec 14, 2022
1 parent 520cfd9 commit 8b84c9f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_diaCatalogSourceSelector.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import lsst.afw.table as afwTable
import lsst.afw.image as afwImage
import lsst.geom as geom
from lsst.meas.algorithms import LoadReferenceObjectsTask, getRefFluxField
from lsst.meas.algorithms import convertReferenceCatalog, getRefFluxField
import lsst.ip.diffim as ipDiffim


Expand All @@ -51,9 +51,8 @@ def tearDown(self):
del self.srcCat

def makeRefCatalog(self):
schema = LoadReferenceObjectsTask.makeMinimalSchema(filterNameList=["g", "r"],
addIsPhotometric=True,
addIsResolved=True)
schema = convertReferenceCatalog._makeSchema(filterNameList=["g", "r"], addIsPhotometric=True,
addIsResolved=True)
catalog = afwTable.SimpleCatalog(schema)
return catalog

Expand Down

0 comments on commit 8b84c9f

Please sign in to comment.