Skip to content

Commit

Permalink
Remove mention of pex_policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdswinbank committed Apr 12, 2020
1 parent a57c468 commit 4ce3cbf
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 26 deletions.
2 changes: 1 addition & 1 deletion python/lsst/meas/algorithms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import lsst.afw.image
import lsst.afw.math

from .crLib import *
from .cr import *
from .coaddBoundedField import *
from .imagePsf import *
from .interp import *
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/meas/algorithms/cr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace {

template <typename PixelT>
void declareFindCosmicRays(py::module& mod) {
mod.def("_findCosmicRays", &findCosmicRays<afw::image::MaskedImage<PixelT>>, "image"_a, "psf"_a, "bkgd"_a,
mod.def("findCosmicRays", &findCosmicRays<afw::image::MaskedImage<PixelT>>, "image"_a, "psf"_a, "bkgd"_a,
"policy"_a, "keep"_a = false);
}

Expand Down
19 changes: 0 additions & 19 deletions python/lsst/meas/algorithms/crLib.py

This file was deleted.

4 changes: 0 additions & 4 deletions tests/test_cr.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,6 @@ def testDetection(self):
crConfig = algorithms.FindCosmicRaysConfig()
crs = algorithms.findCosmicRays(self.mi, self.psf, background, pexConfig.makePropertySet(crConfig))

# Run again using makePolicy and check for warning
with self.assertWarns(FutureWarning):
algorithms.findCosmicRays(self.mi, self.psf, background, pexConfig.makePolicy(crConfig))

if display:
frame += 1
disp = afwDisplay.Display(frame=frame)
Expand Down
1 change: 0 additions & 1 deletion ups/meas_algorithms.table
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ setupRequired(minuit2)
setupRequired(numpy)
setupRequired(pex_config)
setupRequired(pex_exceptions)
setupRequired(pex_policy)
setupRequired(pipe_base)
setupRequired(scons)
setupRequired(sconsUtils)
Expand Down

0 comments on commit 4ce3cbf

Please sign in to comment.