Skip to content

Commit

Permalink
Raise error if resub_states and no_resub_failed both set
Browse files Browse the repository at this point in the history
  • Loading branch information
akremin committed Aug 30, 2024
1 parent 75a2b18 commit e8226ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/desi_resubmit_queue_failures
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def parse_args(): # options=None):
if args.no_resub_failed:
log = get_logger()
msg = f"Provided user-defined resubmision states {args.resub_states} but " \
+ f"also requested args.no_resub_failed. Please choose one or the other."
+ f"also requested --no-resub-failed. Please choose one or the other."
log.critical(msg)
raise ValueError(msg)
## Clean up the input string into a list of strings
Expand Down

0 comments on commit e8226ce

Please sign in to comment.