Skip to content

Commit bba0d09

Browse files
maxmnemonicMaksym Lysak
andauthored
Added exit to benchmark end-to-end scripts in case git-lfs is not installed (#5)
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> Co-authored-by: Maksym Lysak <mly@zurich.ibm.com>
1 parent f310d98 commit bba0d09

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/examples/benchmark_dpbench.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def main():
3131
clone_repository(REPO_URL, idir)
3232
else:
3333
logger.error("Please install Git LFS and try again.")
34+
exit()
3435

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

docs/examples/benchmark_omnidocbench.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def main():
3131
clone_repository(REPO_URL, idir)
3232
else:
3333
logger.error("Please install Git LFS and try again.")
34+
exit()
3435

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

0 commit comments

Comments
 (0)