Skip to content

Commit 485aa49

Browse files
committed
fix: strip whitespace from --conditions split
1 parent 33567f6 commit 485aa49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmarks/page-token-benchmark/src/run_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def main() -> None:
8989
results_dir = Path(__file__).parent.parent / settings["output_dir"] / run_id
9090

9191
if args.conditions:
92-
wanted = set(args.conditions.split(","))
92+
wanted = {c.strip() for c in args.conditions.split(",")}
9393
conditions = [c for c in all_conditions if c["id"] in wanted]
9494
missing = wanted - {c["id"] for c in conditions}
9595
if missing:

0 commit comments

Comments
 (0)