Skip to content

Directly report properties which throw errors - #225

Merged
robjmcgibbon merged 1 commit into
masterfrom
issue_169
Sep 3, 2026
Merged

robjmcgibbon merged 1 commit into
masterfrom
issue_169

Conversation

@robjmcgibbon

Copy link
Copy Markdown
Collaborator

Addresses #169

Fixes a FloatingPointError in get_weighted_projected_inertia_tensor by taking the absolute value of the eigenvalues before computing the axis ratio, matching what the 3D inertia tensor function already does.

Improves error reporting when a property calculation crashes, the exception now includes a note saying which field (and projection) failed for which subhalo.

@robjmcgibbon
robjmcgibbon merged commit bdbb9e4 into master Sep 3, 2026
2 checks passed
@robjmcgibbon
robjmcgibbon deleted the issue_169 branch September 3, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant