Skip to content

Fix default weights for summary tables#376

Merged
ElliottKasoar merged 1 commit intoddmms:mainfrom
ElliottKasoar:fix-weights
Feb 18, 2026
Merged

Fix default weights for summary tables#376
ElliottKasoar merged 1 commit intoddmms:mainfrom
ElliottKasoar:fix-weights

Conversation

@ElliottKasoar
Copy link
Collaborator

Pre-review checklist for PR author

PR author must check the checkboxes below when creating the PR.

Summary

Fix resetting default weights for summary tables.

These are set via table.weights, as when building the weight components we pass default_weights=getattr(table, "weights", None) to the callbacks.

This was being set for the benchmark tables, as we add this attribute on loading, but not the summary tables, leading to resetting the weights reverting everything to 1 for the summary tables.

@ElliottKasoar ElliottKasoar added the bug Something isn't working label Feb 18, 2026
@ElliottKasoar ElliottKasoar merged commit fe5d254 into ddmms:main Feb 18, 2026
7 checks passed
@ElliottKasoar ElliottKasoar deleted the fix-weights branch February 18, 2026 15:42
@joehart2001 joehart2001 mentioned this pull request Mar 17, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants