Skip to content

Commit

Permalink
fix when --configuration is a file
Browse files Browse the repository at this point in the history
  • Loading branch information
divyegala committed Oct 31, 2023
1 parent 9ff0fbb commit cf086c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 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 @@ -300,6 +300,7 @@ def main():
]
elif os.path.isfile(args.configuration):
conf_filedir = os.path.normpath(args.configuration).split(os.sep)
conf_filedir = os.path.join(*conf_filedir[:-1])
algos_conf_fs = algos_conf_fs + [args.configuration]

filter_algos = True if args.algorithms else False
Expand Down

0 comments on commit cf086c2

Please sign in to comment.