Skip to content

Commit

Permalink
Move summary sheet to first place in report (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexsandruss authored Sep 27, 2024
1 parent 328fcaf commit fba4fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklbench/report/implementation.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def generate_report(args: argparse.Namespace):
summary_df = summary_df[summary_df.columns.sortlevel(level=0, ascending=False)[0]]
logger.info(f"{custom_format('Report summary', bcolor='HEADER')}\n{summary_df}")
if summary_df.size > 0:
summary_ws = wb.create_sheet("Summary")
summary_ws = wb.create_sheet(title="Summary", index=0)
write_df_to_sheet(summary_df, summary_ws)
apply_rules_for_sheet(summary_ws, args.perf_color_scale, args.quality_color_scale)
# write environment info
Expand Down

0 comments on commit fba4fd6

Please sign in to comment.