Skip to content

Conversation

@GuySten
Copy link
Contributor

@GuySten GuySten commented Dec 31, 2025

Description

Currently the cross sections cache does not depend on the download-xs.sh script so a change in the script does not invalidate the cache.
So if we change the download-xs.sh script to download more data or download different data this will not be reflected in the test workflow.
This PR change this behavior to use the hash of this file in the cache so a change in the script will invalidate the cache.

You can find more information here.

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)

Copy link
Member

@shimwell shimwell left a comment

Choose a reason for hiding this comment

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

this is a good idea, particularly useful if / when we update the nuclear data

@GuySten GuySten added the Merging Soon PR will be merged in < 24 hrs if no further comments are made. label Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merging Soon PR will be merged in < 24 hrs if no further comments are made. Test Suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants