Details

    • Type: Story
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_base
    • Labels:
      None
    • Templates:
    • 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")
      

        Issue Links

          Activity

          Hide
          rhl Robert Lupton added a comment -

          You can control the colouring using

                  import lsst.pex.config.history
                  lsst.pex.config.history.Color.colorize(False)
          

          DM-7940 provides a way to disable the colouring by piping to cat.

          Show
          rhl Robert Lupton added a comment - You can control the colouring using import lsst.pex.config.history lsst.pex.config.history.Color.colorize(False) DM-7940 provides a way to disable the colouring by piping to cat .
          Hide
          rowen Russell Owen added a comment -

          Nice feature, but please simplify the implementation as per github comments (which I tried to mark as a review, but could not because I created the pull request).

          Show
          rowen Russell Owen added a comment - Nice feature, but please simplify the implementation as per github comments (which I tried to mark as a review, but could not because I created the pull request).
          Hide
          rhl Robert Lupton added a comment -

          Merged to master post-code review improvements

          Show
          rhl Robert Lupton added a comment - Merged to master post-code review improvements

            People

            • Assignee:
              rhl Robert Lupton
              Reporter:
              rhl Robert Lupton
              Reviewers:
              Russell Owen
              Watchers:
              Robert Lupton, Russell Owen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile