Skip to content

Commit e79c3fa

Browse files
committed
Fixing small bug
1 parent 8e1c62c commit e79c3fa

File tree

1 file changed

+3
-2
lines changed
  • python/raft-ann-bench/src/raft-ann-bench/run

1 file changed

+3
-2
lines changed

python/raft-ann-bench/src/raft-ann-bench/run/__main__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ def run_build_and_search(
154154
):
155155
for executable, ann_executable_path, algo in executables_to_run.keys():
156156
# Need to write temporary configuration
157+
print("ALGO: %s" % algo)
157158
temp_conf_filename = f"{conf_filename}_{algo}_{uuid.uuid1()}.json"
158159
with open(temp_conf_filename, "w") as f:
159160
temp_conf = dict()
@@ -574,8 +575,8 @@ def add_algo_group(group_list):
574575
index["search_params"].append(search_dict)
575576
executables_to_run[executable]["index"].append(index)
576577

577-
if len(index["search_params"]) == 0:
578-
print("No search parameters were added to configuration")
578+
if len(index["search_params"]) == 0:
579+
print("No search parameters were added to configuration")
579580

580581
run_build_and_search(
581582
conf_file,

0 commit comments

Comments
 (0)