From 3d0c45b67e78e1d4c3f1c4a415fc38c5a87182a6 Mon Sep 17 00:00:00 2001 From: Ben Krikler Date: Tue, 22 Jun 2021 10:27:13 +0200 Subject: [PATCH 1/2] Fix built-in help --- CHANGELOG.md | 6 +++++- fast_plotter/postproc/__main__.py | 12 ++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19003d8..a84f14e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.10.1] - 2021-06-22 +### Fixed +- Postproc: Built-in command-line help, PR #59 + ## [0.10.0] - 2021-06-22 ### Added - Postproc: Option to control sorting during merging, PR #57 [@snwebb](https://github.com/snwebb) -- Postproc: Built-in command-line help for available stages +- Postproc: Built-in command-line help for available stages, PR #54 ### Fixed - Postproc: Make specification for value columns more rigorous, PR #55 [@DBAnthony](https://github.com/DBAnthony) diff --git a/fast_plotter/postproc/__main__.py b/fast_plotter/postproc/__main__.py index 3734714..3847a42 100644 --- a/fast_plotter/postproc/__main__.py +++ b/fast_plotter/postproc/__main__.py @@ -23,11 +23,15 @@ def make_parser(): parser.add_argument("-V", "--value-cols", default=r"(.*sumw2?|/^n$/)", help="A regular expression to control which columns are" " identified as values and not bin labels") - parser.add_argument("--help-stages", metavar="stage-name-regex", nargs="?", default=None, full_output=False, - action=argparse_help_stages(stages.known_stages, "fast_plotter.postproc.stages"), + parser.add_argument("--help-stages", metavar="stage-name-regex", nargs="?", default=None, + action=argparse_help_stages(stages.known_stages, + "fast_plotter.postproc.stages", + full_output=False), help="Print help specific to the available stages") - parser.add_argument("--help-stages-full", metavar="stage", full_output=True, - action=argparse_help_stages(stages.known_stages, "fast_plotter.postproc.stages"), + parser.add_argument("--help-stages-full", metavar="stage", + action=argparse_help_stages(stages.known_stages, + "fast_plotter.postproc.stages", + full_output=True), help="Print the full help specific to the available stages") parser.add_argument("files", nargs="+", help="Input dataframes that need merging together") From 42b71562979718f9071d1e940da88f307e6aa275 Mon Sep 17 00:00:00 2001 From: Ben Krikler Date: Tue, 22 Jun 2021 10:27:26 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Bump=20version:=200.10.0=20=E2=86=92=200.10?= =?UTF-8?q?.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fast_plotter/version.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fast_plotter/version.py b/fast_plotter/version.py index 2e53792..7384600 100644 --- a/fast_plotter/version.py +++ b/fast_plotter/version.py @@ -12,5 +12,5 @@ def split_version(version): return tuple(result) -__version__ = '0.10.0' +__version__ = '0.10.1' version_info = split_version(__version__) # noqa diff --git a/setup.cfg b/setup.cfg index a472d2e..c275160 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.10.0 +current_version = 0.10.1 commit = True tag = False