Skip to content

Commit

Permalink
Removal of nargs parameter in arguments parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas MANOSALVA PEREZ committed May 23, 2024
1 parent 463ec11 commit 4620bbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/geneList2iCREs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 4620bbc

Please sign in to comment.