From b291fa5131be94e7f09c221b07db3e77aa018b65 Mon Sep 17 00:00:00 2001 From: Sara <sara.schulte@uni-duesseldorf.de> Date: Mon, 27 Mar 2023 18:14:01 +0200 Subject: [PATCH] Fix parameter input --- HOGVAX/hogvax.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HOGVAX/hogvax.py b/HOGVAX/hogvax.py index fc8e613..3e59e4a 100644 --- a/HOGVAX/hogvax.py +++ b/HOGVAX/hogvax.py @@ -32,8 +32,8 @@ def get_parser(): help='File of peptides you want to be present in vaccine') parser.add_argument('--min-hits', '-mh', dest='min_hits', default=1, type=int, help='Minimum number of hits for an allele to be covered') - parser.add_argument('--maximize-peptides', dest='maximize_peptides', default=False, - help='Maximize number of peptides in the vaccine in a second optimization') + parser.add_argument('--maximize-peptides', dest='maximize_peptides', action='store_const', const=True, + default=False, help='Maximize number of peptides in the vaccine in a second optimization') parser.add_argument('--embedding-length', default=0, type=int, help='Set length of embedding if used') parser.add_argument('--embedded-peptides', type=str, help='File containing embedded peptides') parser.add_argument('--embedded-epitope_features', type=str, help='Path to embedded epitope features') -- GitLab