File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,8 @@ def build_category(
101101 category_layouts = {}
102102 category_tables = {}
103103
104+ # `category` corresponds to the category's directory name
105+ # We will use the loaded `category_title` for IDs/dictionary keys returned
104106 for category in all_layouts :
105107 # Get category name and description
106108 try :
@@ -114,7 +116,7 @@ def build_category(
114116
115117 # Build summary table
116118 summary_table = build_summary_table (
117- all_tables [category ], table_id = f"{ category } -summary-table"
119+ all_tables [category ], table_id = f"{ category_title } -summary-table"
118120 )
119121 category_tables [category_title ] = summary_table
120122
@@ -123,7 +125,7 @@ def build_category(
123125 header = "Benchmark weights" ,
124126 columns = list (all_tables [category ].keys ()),
125127 input_ids = list (all_tables [category ].keys ()),
126- table_id = f"{ category } -summary-table" ,
128+ table_id = f"{ category_title } -summary-table" ,
127129 )
128130
129131 # Build full layout with summary table, weight controls, and test layouts
You can’t perform that action at this time.
0 commit comments