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

Automatically look for cross_sections.xml if path is directory #3055

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

Conversation

ybadr16
Copy link
Contributor

@ybadr16 ybadr16 commented Jun 22, 2024

Description

Added the option to check automatically for "cross_sections.xml" if the user accidentaly set path to a folder instead of the file.

closes #3048

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)

Notes:
1- I had previously done this in #3054, however i didnt notice file_utils at all so i redefined headers and a new function in that pr. This one utilizes the already defined functions.
2- #3042 is moving to std::filesystem, but I dont think this would change anything in this commit since the functions remain defined in file_utils

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.

Automatically try "cross_sections.xml"
1 participant