Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_base
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:DRP F16-5
-
Team:Data Release Production
Description
pex_config is able to report where a config parameter is set. Please add a command line option --show history=config.parameter.name to the cmdLineTask parser.
The implementation will probably want to use something like:
import lsst.pex.config.history as pch |
pch.Color.colorize(False) |
print pch.format(config.calibrate.astrometry.solver, "matchingRadius") |
You can control the colouring using
import lsst.pex.config.history
lsst.pex.config.history.Color.colorize(False)
DM-7940provides a way to disable the colouring by piping to cat.