Closed Eo300 closed 3 years ago
On further inspection, looks like this flag is being set via the PROPKA argument parser, as we don't set the flag ourselves: https://github.com/Electrostatics/pdb2pqr/blob/7e28bb8ef048f2b86bb4229ecd52e1668808f747/pdb2pqr/main.py#L223-L224
As such, it's being set for us here: https://github.com/jensengroup/propka/blob/68007f065c5400566598509875344ed1c0f593c9/propka/lib.py#L245-L246
group.add_argument("--version", action="version", version=f"%(prog)s {propka.__version__}")
When using the CLI, querying for the version number using the flag
--version
returns the following:However, the correct version does get displayed within the text returned from the
--help
flag.At the time of writing this, this issue appears within versions 3.1.0, 3.2.0, and the
master
branch