Skip to content

Commit

Permalink
syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
ACEnglish committed Sep 4, 2024
1 parent 967a5b6 commit bce0b5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion truvari/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def check_params(args):
check_fail = True
if args.reference:
logging.warning("`--reference` is no longer recommended and will be deprecated by v5")
not os.path.exists(args.reference):
if not os.path.exists(args.reference):
logging.error("Reference %s does not exist", args.reference)
check_fail = True
return check_fail
Expand Down
2 changes: 1 addition & 1 deletion truvari/collapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def check_params(args):
logging.error("Using --hap must use --keep first")
if args.reference:
logging.warning("`--reference` is no longer recommended and will be deprecated by v5")
not os.path.exists(args.reference):
if not os.path.exists(args.reference):
logging.error("Reference %s does not exist", args.reference)
check_fail = True
return check_fail
Expand Down

0 comments on commit bce0b5b

Please sign in to comment.