Skip to content

Commit

Permalink
Merge pull request #182 from lsst/tickets/DM-34793
Browse files Browse the repository at this point in the history
DM-34793: Fix gen2 class references
  • Loading branch information
parejkoj authored Jul 1, 2023
2 parents 51277c4 + 4c32712 commit a850d4f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/lsst/meas/astrom/directMatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

import warnings

from lsst.pex.config import Config, Field, ConfigurableField
from lsst.pex.config import Config, Field, ConfigurableField, ConfigField
from lsst.pipe.base import Task, Struct
from lsst.meas.algorithms import (LoadReferenceObjectsTask, ScienceSourceSelectorTask,
from lsst.meas.algorithms import (LoadReferenceObjectsConfig, ScienceSourceSelectorTask,
ReferenceSourceSelectorTask)
import lsst.afw.table as afwTable
from lsst.geom import arcseconds, averageSpherePoint
Expand All @@ -25,7 +25,8 @@ class DirectMatchConfigWithoutLoader(Config):
class DirectMatchConfig(DirectMatchConfigWithoutLoader):
"""Configuration for `DirectMatchTask`.
"""
refObjLoader = ConfigurableField(target=LoadReferenceObjectsTask, doc="Load reference objects")
refObjLoader = ConfigField(dtype=LoadReferenceObjectsConfig,
doc="Configuration of reference object loader")


class DirectMatchTask(Task):
Expand Down

0 comments on commit a850d4f

Please sign in to comment.