Skip to content

Commit

Permalink
Remove immediate quit when specified output path does not exist; this…
Browse files Browse the repository at this point in the history
… didn't account for templating behavior
  • Loading branch information
mkavulich committed Jul 25, 2023
1 parent d6efb26 commit 168acac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ush/retrieve_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,10 +1062,6 @@ def parse_args(argv):
if args.members:
args.members = arg_list_to_range(args.members)

# Check that output_path exists
if not os.path.isdir(args.output_path):
raise FileNotFoundError(f"Specified output path {args.output_path} does not exist")

# Check required arguments for various conditions
if not args.ics_or_lbcs and args.file_set in ["anl", "fcst"]:
raise argparse.ArgumentTypeError(f"--ics_or_lbcs is a required " \
Expand Down

0 comments on commit 168acac

Please sign in to comment.