Skip to content
Snippets Groups Projects
Commit e28fc224 authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

Add --version argument to mhcflurry-predict

parent 923d478e
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ import pandas
from .downloads import get_default_class1_models_dir
from .class1_affinity_predictor import Class1AffinityPredictor
from .version import __version__
parser = argparse.ArgumentParser(
......@@ -61,7 +62,11 @@ helper_args.add_argument(
default=False,
help="Prints the list of supported peptide lengths and exits"
)
helper_args.add_argument(
"--version",
action="version",
version="mhcflurry %s" % __version__,
)
input_args = parser.add_argument_group(title="Required input arguments")
input_args.add_argument(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment