Skip to content

Commit 31efb2d

Browse files
committed
fix: use parent name instead of stem for baseline and comparison headers in compare function
1 parent b9acdbf commit 31efb2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/compare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ def compare(
157157
console = Console(width=200)
158158

159159
# use basename as the column names
160-
baseline_header = baseline_path.parent.stem
161-
comparison_header = comparison_path.parent.stem
160+
baseline_header = baseline_path.parent.name
161+
comparison_header = comparison_path.parent.name
162162

163163
table = Table(show_header=True, header_style="bold magenta")
164164
table.add_column("Query", style="dim", no_wrap=True)

0 commit comments

Comments
 (0)