Mercurial > repos > bimib > marea_2
changeset 376:46b80234a46f draft
Uploaded
author | bimib |
---|---|
date | Thu, 07 Nov 2024 10:28:21 +0000 |
parents | 86eab2646c3e |
children | 2dde407c47b4 |
files | marea_2/marea_cluster.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/marea_2/marea_cluster.py Thu Nov 07 10:10:02 2024 +0000 +++ b/marea_2/marea_cluster.py Thu Nov 07 10:28:21 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: