From cf086c24a5f7f887da1115a2d92e93550c05b5bb Mon Sep 17 00:00:00 2001 From: divyegala Date: Mon, 30 Oct 2023 17:08:06 -0700 Subject: [PATCH] fix when --configuration is a file --- python/raft-ann-bench/src/raft-ann-bench/run/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py b/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py index 85a1e633ec..06dc948829 100644 --- a/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py +++ b/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py @@ -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