Skip to content

Commit

Permalink
Remove unnecessary dataset path check
Browse files Browse the repository at this point in the history
  • Loading branch information
tfeher committed Oct 18, 2023
1 parent 889e9f5 commit d549554
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/raft-ann-bench/src/raft-ann-bench/run/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ def main():
dataset_path = args.dataset_path
if not os.path.exists(conf_filepath):
raise FileNotFoundError(conf_filename)
if not os.path.exists(os.path.join(args.dataset_path, dataset_name)):
raise FileNotFoundError(os.path.join(args.dataset_path, dataset_name))

with open(conf_filepath, "r") as f:
conf_file = json.load(f)
Expand Down

0 comments on commit d549554

Please sign in to comment.