Skip to content

run_material_map_validation.sh: run material_comparison.py#1022

Open
veprbl wants to merge 4 commits intomainfrom
pr/material_comparison
Open

run_material_map_validation.sh: run material_comparison.py#1022
veprbl wants to merge 4 commits intomainfrom
pr/material_comparison

Conversation

@veprbl
Copy link
Member

@veprbl veprbl commented Dec 21, 2025

Briefly, what does this PR introduce?

Produces a plot similar to one from Mat_map.C, but without ROOT.

Needs:

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No

Does this PR change default behavior?

No

Copilot AI review requested due to automatic review settings December 21, 2025 23:32
@github-actions github-actions bot added the topic: infrastructure Regarding build system, CI, CD label Dec 21, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR integrates the material_comparison.py script from the ACTS project into the material map validation workflow, providing a ROOT-independent alternative for generating material comparison plots.

Key changes:

  • Added material_comparison.py to the list of ACTS files to download
  • Configured and executed the script with project-specific filenames and plot ranges
  • Extended CI artifact collection to include generated SVG plots

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
scripts/material_map/run_material_map_validation.sh Downloads material_comparison.py, configures it via sed substitutions for local filenames and plot ranges, and executes it to generate comparison plots
.github/workflows/linux-eic-shell.yml Adds SVG files to the material_map artifact collection to capture plots generated by material_comparison.py

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: infrastructure Regarding build system, CI, CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants