Skip to content

Fixed a bug in plotting cross sections with S(a,b) data - #3558

Merged
paulromano merged 1 commit into
openmc-dev:developfrom
GuySten:fix-sab-plot
Sep 3, 2025
Merged

paulromano merged 1 commit into
openmc-dev:developfrom
GuySten:fix-sab-plot

Conversation

@GuySten

@GuySten GuySten commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

Description

Sab data is not accessed correctly in openmc/plotter.py.
This PR fix it.

Fixes #3557

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)

@GuySten GuySten added the Bugs label Sep 2, 2025
@GuySten GuySten changed the title fix bug in Sab plotting fixed a bug in Sab plotting Sep 2, 2025

@paulromano paulromano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @GuySten!

@paulromano paulromano changed the title fixed a bug in Sab plotting Fixed a bug in plotting cross sections with S(a,b) data Sep 3, 2025
@paulromano
paulromano merged commit eaed400 into openmc-dev:develop Sep 3, 2025
16 of 27 checks passed
@GuySten
GuySten deleted the fix-sab-plot branch September 3, 2025 03:54
apingegno pushed a commit to apingegno/openmc that referenced this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plot_xs with sab throws error - file not found

2 participants