Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix path handeling for thermal ace generAtion #3171

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

janmalec
Copy link
Contributor

Description

Description: This PR fixes a bug in openmc.data.ThermalScattering.from_njoy() where the ACE file is written to a temporary output_dir but the function attempts to read it from the current working directory, causing a FileNotFoundError.

Fixes #3170

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)

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.

File path handeling problems when exporting TSL ace files
1 participant