Skip to content

Commit

Permalink
Added exit to benchmark end-to-end scripts in case git-lfs is not ins…
Browse files Browse the repository at this point in the history
…talled

Signed-off-by: Maksym Lysak <[email protected]>
  • Loading branch information
Maksym Lysak committed Jan 6, 2025
1 parent f310d98 commit a4f3d02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/examples/benchmark_dpbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def main():
clone_repository(REPO_URL, idir)
else:
logger.error("Please install Git LFS and try again.")
exit()

odir = Path(f"./benchmarks/{BenchMarkNames.DPBENCH.value}-dataset")

Expand Down
1 change: 1 addition & 0 deletions docs/examples/benchmark_omnidocbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def main():
clone_repository(REPO_URL, idir)
else:
logger.error("Please install Git LFS and try again.")
exit()

odir = Path(f"./benchmarks/{BenchMarkNames.OMNIDOCBENCH.value}-dataset")

Expand Down

0 comments on commit a4f3d02

Please sign in to comment.