Skip to content

Commit

Permalink
Fix args
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecThomson committed Dec 14, 2023
1 parent 5360637 commit 65bf145
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions arrakis/merge_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down Expand Up @@ -425,7 +421,6 @@ def cli():
username=args.username,
password=args.password,
yanda=args.yanda,
verbose=verbose,
)

client.close()
Expand Down
5 changes: 1 addition & 4 deletions arrakis/process_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 65bf145

Please sign in to comment.