Skip to content

Commit

Permalink
config: remove retarget to LoadIndexedReferenceObjectsTask
Browse files Browse the repository at this point in the history
The Indexed refcat loader is now the default in pipe_tasks.
  • Loading branch information
parejkoj committed Feb 25, 2019
1 parent 2bf88c5 commit ea36764
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions config/deblendCoaddSources.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import os.path
from lsst.utils import getPackageDir
from lsst.meas.algorithms import LoadIndexedReferenceObjectsTask


config.singleBandDeblend.load(os.path.join(getPackageDir("obs_subaru"), "config", "singleBandDeblend.py"))
config.multiBandDeblend.load(os.path.join(getPackageDir("obs_subaru"), "config", "multiBandDeblend.py"))
2 changes: 0 additions & 2 deletions config/measureCoaddSources.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

import os.path
from lsst.utils import getPackageDir
from lsst.meas.algorithms import LoadIndexedReferenceObjectsTask

config.measurement.load(os.path.join(getPackageDir("obs_subaru"), "config", "apertures.py"))
config.measurement.load(os.path.join(getPackageDir("obs_subaru"), "config", "kron.py"))
config.measurement.load(os.path.join(getPackageDir("obs_subaru"), "config", "convolvedFluxes.py"))
config.measurement.load(os.path.join(getPackageDir("obs_subaru"), "config", "hsm.py"))
config.load(os.path.join(getPackageDir("obs_subaru"), "config", "cmodel.py"))

config.match.refObjLoader.retarget(LoadIndexedReferenceObjectsTask)
config.match.refObjLoader.ref_dataset_name = "ps1_pv3_3pi_20170110"
config.match.refObjLoader.load(os.path.join(getPackageDir("obs_subaru"), "config", "filterMap.py"))

Expand Down
2 changes: 0 additions & 2 deletions config/processCcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os.path

from lsst.utils import getPackageDir
from lsst.meas.algorithms import LoadIndexedReferenceObjectsTask
from lsst.meas.algorithms import ColorLimit

ObsConfigDir = os.path.join(getPackageDir("obs_subaru"), "config")
Expand Down Expand Up @@ -37,7 +36,6 @@
config.calibrate.photoRefObjLoader,
config.charImage.refObjLoader,
):
refObjLoader.retarget(LoadIndexedReferenceObjectsTask)
refObjLoader.load(os.path.join(getPackageDir("obs_subaru"), "config", "filterMap.py"))
refObjLoader.ref_dataset_name = "ps1_pv3_3pi_20170110"

Expand Down

0 comments on commit ea36764

Please sign in to comment.