Repository navigation
Reshape each mesh filter along its expanded axes - #4240
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Seems some of my latest changes to other branches now caused conflicts here. I'd cringe a bit to force push to your branch @rpinho. Would you mind taking a look? Once they're resolved I think we can get this merged in. |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
|
Sure! I merged develop and kept both sets of tests. They pass locally. |
Description
Tallies with both a MeshFilter and a MeshBornFilter get spatial axes in the wrong order from get_reshaped_data(expand_dims=True). A tally on meshes of dimensions (2, 3, 1) and (3, 1, 2) returns dimensions (1, 2, 2, 3, 1, 3). This patch records expanded axis positions and restores the axis order for each mesh filter. Tests check both filter orders and compare every spatial bin with get_values.
AI Assistance
Checklist
Summary by CodeRabbit
🤖 Generated with Claude Code
https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N