Skip to content

Comments

Fix MeshFilter.get_pandas_dataframe to handle all mesh types#3817

Open
paulromano wants to merge 2 commits intoopenmc-dev:developfrom
paulromano:meshfilter-dataframe-fix
Open

Fix MeshFilter.get_pandas_dataframe to handle all mesh types#3817
paulromano wants to merge 2 commits intoopenmc-dev:developfrom
paulromano:meshfilter-dataframe-fix

Conversation

@paulromano
Copy link
Contributor

Description

Current the MeshFilter.get_pandas_dataframe method is hardwired for the case of a RegularMesh. This PR generalizes it so that it handles any mesh type. Thanks to @spasmann for reporting this to me!

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@paulromano paulromano requested a review from pshriwise February 18, 2026 15:20
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