From 65bf1455bf9ad6dfc00b950f937704fa0f2a088c Mon Sep 17 00:00:00 2001 From: "Thomson, Alec (CASS, Kensington)" Date: Thu, 14 Dec 2023 15:09:28 +1100 Subject: [PATCH] Fix args --- arrakis/merge_fields.py | 5 ----- arrakis/process_region.py | 5 +---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/arrakis/merge_fields.py b/arrakis/merge_fields.py index 2e215355..dd4701ea 100644 --- a/arrakis/merge_fields.py +++ b/arrakis/merge_fields.py @@ -393,10 +393,6 @@ def cli(): help="Epoch of observation.", ) - parser.add_argument( - "-v", dest="verbose", action="store_true", help="Verbose output [False]." - ) - parser.add_argument( "--username", type=str, default=None, help="Username of mongodb." ) @@ -425,7 +421,6 @@ def cli(): username=args.username, password=args.password, yanda=args.yanda, - verbose=verbose, ) client.close() diff --git a/arrakis/process_region.py b/arrakis/process_region.py index 14cfdaf6..768620ad 100644 --- a/arrakis/process_region.py +++ b/arrakis/process_region.py @@ -35,7 +35,6 @@ def process_merge(args, host: str, inter_dir: str, task_runner) -> None: username=args.username, password=args.password, yanda=args.yanda, - verbose=args.verbose, ) if not args.skip_merge else previous_future @@ -52,7 +51,7 @@ def process_merge(args, host: str, inter_dir: str, task_runner) -> None: dimension=args.dimension, verbose=args.verbose, database=args.database, - validate=args.validate, + do_validate=args.validate, limit=args.limit, savePlots=args.savePlots, weightType=args.weightType, @@ -85,9 +84,7 @@ def process_merge(args, host: str, inter_dir: str, task_runner) -> None: username=args.username, password=args.password, dimension=args.dimension, - verbose=args.verbose, database=args.database, - validate=args.validate, limit=args.limit, cutoff=args.cutoff, maxIter=args.maxIter,