Mercurial > repos > bimib > cobraxy
diff COBRAxy/marea_cluster.py @ 155:3ad3fb730b87 draft
Uploaded
author | bimib |
---|---|
date | Thu, 07 Nov 2024 10:22:56 +0000 |
parents | 49fb0556242f |
children | 4a677fc67aeb |
line wrap: on
line diff
--- a/COBRAxy/marea_cluster.py Thu Nov 07 10:09:11 2024 +0000 +++ b/COBRAxy/marea_cluster.py Thu Nov 07 10:22:56 2024 +0000 @@ -20,7 +20,7 @@ from typing import Optional, Dict, List ################################# process args ############################### -def process_args(args :List[str] = None) -> argparse.Namespace: +def process_args(args_in :List[str] = None) -> argparse.Namespace: """ Processes command-line arguments. @@ -92,8 +92,8 @@ default='result', help = 'output path for maps') - args = parser.parse_args(args) - return args + args_in = parser.parse_args(args_in) + return args_in ########################### warning ########################################### def warning(s :str) -> None: