Skip to content

Commit

Permalink
bf
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Mar 5, 2024
1 parent b6237c0 commit 6de21cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/HHbbVV/run_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import json
import os
import subprocess
import sys
from pathlib import Path
from string import Template

Expand Down Expand Up @@ -67,9 +68,10 @@ def check_branch(git_branch: str, allow_diff_local_repo: bool = False):
print(f"Local commit hash: {local_hash}")
print(f"Remote commit hash: {remote_hash}")
if allow_diff_local_repo:
print("Proceeding anyway...")
print_red("Proceeding anyway...")
else:
print_red("Exiting! Use the --allow-diff-local-repo option to override this.")
sys.exit(1)


# for Dask executor
Expand Down

0 comments on commit 6de21cc

Please sign in to comment.