Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Tim Jenness
Tim JennessReporter
Tim Jenness
Tim JennessPlanned End
Aug 28, 2019, 9:58 PM
Components
Checklist
Checklist
Created August 23, 2019 at 10:06 PM
Updated September 9, 2019 at 5:16 PM
Resolved September 4, 2019 at 9:42 PM
We are trying to remove usage of pex_policy in our code so that we can retire it. There are some places that use Policy to receive configuration information (via
pexConfig.makePolicy
) that I would like to change to usepexConfig.makePropertySet
.The routines in question are:
meas_algorithms.findCosmicRays (called from pipe_tasks and meas_algorithms)
ip_diffim (psf matching, kernels and regularization), seemingly only calling makePolicy internally.
The proposal is:
Change the C++ to use
PropertySet
Update the stack code to use the new interface.
Provide a wrapper Python function that looks for the old API usage and warns, before converting the Policy to PropertySet and proceeding.
Formally deprecate
pexConfig.makePolicy
and the Policy usage for these APIs.