Skip to content

Commit

Permalink
don't read json confs
Browse files Browse the repository at this point in the history
  • Loading branch information
divyegala committed Oct 31, 2023
1 parent cf086c2 commit 0b6cc09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/raft-ann-bench/src/raft-ann-bench/run/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def main():
algos_conf_fs = os.listdir(os.path.join(scripts_path, "conf", "algos"))
algos_conf_fs = [
os.path.join(scripts_path, "conf", "algos", f) for f in algos_conf_fs
if ".json" not in f
]
conf_filedir = os.path.join(scripts_path, "conf", "algos")
if args.configuration:
Expand All @@ -297,6 +298,7 @@ def main():
algos_conf_fs = algos_conf_fs + [
os.path.join(args.configuration, f)
for f in os.listdir(args.configuration)
if ".json" not in f
]
elif os.path.isfile(args.configuration):
conf_filedir = os.path.normpath(args.configuration).split(os.sep)
Expand Down

0 comments on commit 0b6cc09

Please sign in to comment.