From 4620bbc1994ea4331047a6974f00f5b57ce40331 Mon Sep 17 00:00:00 2001 From: Nicolas MANOSALVA PEREZ Date: Thu, 23 May 2024 14:55:00 +0200 Subject: [PATCH] Removal of nargs parameter in arguments parsing --- bin/geneList2iCREs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/geneList2iCREs.py b/bin/geneList2iCREs.py index 8fd03aa..8ae8e56 100644 --- a/bin/geneList2iCREs.py +++ b/bin/geneList2iCREs.py @@ -7,17 +7,17 @@ def parseArgs(): 'coordinates given a list of genes', conflict_handler='resolve') - parser.add_argument('annotated_icres', nargs = "?", type = str, + parser.add_argument('annotated_icres', type = str, help = '', metavar = 'BED file with 4th column being ' +\ 'an annotated gene ID') - parser.add_argument('gene_list', nargs = "?", type = str, + parser.add_argument('gene_list', type = str, help = '', metavar = 'One column file containing gene IDs '+ \ 'of interest') - parser.add_argument('bed_of_genes_icres', nargs = "?", type = str, + parser.add_argument('bed_of_genes_icres', type = str, help = '', metavar = 'Output BED file with coordinates '+\ 'of iCREs associated with genes of interest')