fix: update material map validation script to Acts v46.8.1 - #1159
Open
wdconinc wants to merge 19 commits into
Open
fix: update material map validation script to Acts v46.8.1#1159wdconinc wants to merge 19 commits into
wdconinc wants to merge 19 commits into
Conversation
Contributor
14 tasks
veprbl
previously approved these changes
Aug 24, 2026
Member
|
Contributor
Author
It's a different error at least now :-) |
Contributor
Author
It's all in the definition of "progress". |
Contributor
Author
|
FYI @ybedfer This is another change you will need, likely. |
wdconinc
temporarily deployed
to
github-pages
September 1, 2026 20:50 — with
GitHub Actions
Inactive
- Update ACTS_VERSION from v45.3.0 to v46.8.1 to match the Acts version in the platform - Remove PR #5359 patch application, as the fix landed in Acts v46.3.0 (function kept) - This fixes CI failures in the validate-material-map job after the Acts upgrade Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The runMaterialRecording() function signature changed in Acts v46.8.1: - Removed: outputDir parameter - Added: outputFileBase parameter - Moved: sequencer parameter to second position This fixes the TypeError when running material map validation with Acts v46.8.1. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The Acts v46.8.1 APIs have significant changes: - runMaterialValidation: Changed parameter order and replaced outputDir/outputName with outputFileBase - runMaterialMapping: Changed to accept surfaces list and inputFile path instead of outputDir/inputDir Both scripts now: - Extract material surfaces from trackingGeometry using extractMaterialSurfaces() - Pass surfaces as first parameter - Use outputFileBase instead of separate directory/name parameters Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Changed while loop condition from '0 -gt 1' to '0 -gt 0' to properly process single arguments. This fixes the --help flag not displaying help when it's the only argument. Also added explicit -h|--help case handler. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- geometry_epic.py: Rename 'outputJson' → 'outputSurfacesJson' parameter - material_mapping_epic.py: matFile defaults to 'material-map.json' (produces '_map.json' output) - material_validation_epic.py: matFile now optional (empty string default) - epic.py: Add file existence check before loading material decorator - run_material_map_validation.sh: - Fix --help flag handling (was requiring 2+ arguments) - Use correct material-map filenames (material-map.json input → material-map_map.json output) - Pass correct generated material map file to validation step - Disable visualization scripts that fail on geometry JSON schema mismatch (temporary workaround) Note: v46.8.1 removed CBOR support; material maps now output as JSON and ROOT formats only. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
wdconinc
force-pushed
the
material-map-acts-46
branch
from
September 1, 2026 21:56
83ea5e1 to
167f36f
Compare
wdconinc
temporarily deployed
to
github-pages
September 1, 2026 23:27 — with
GitHub Actions
Inactive
The geo_id field in Acts v46.8.1 changed from a simple uint64_t to an object with component fields (volume, boundary, layer, approach, sensitive). This patch reconstructs the uint64_t by bitwise ORing the components according to the GeometryIdentifier bit layout: - volume: bits 56-63 - boundary: bits 48-55 - layer: bits 36-47 - approach: bits 28-35 - sensitive: bits 0-27 Handles both old (numeric) and new (object) geo_id formats for compatibility. The patch is applied early in run_material_map_validation.sh before visualization scripts execute, enabling all surface plots to work with v46.8.1 geometry output. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
wdconinc
temporarily deployed
to
github-pages
September 2, 2026 01:00 — with
GitHub Actions
Inactive
wdconinc
commented
Sep 2, 2026
wdconinc
commented
Sep 2, 2026
wdconinc
temporarily deployed
to
github-pages
September 2, 2026 22:17 — with
GitHub Actions
Inactive
wdconinc
temporarily deployed
to
github-pages
September 2, 2026 23:27 — with
GitHub Actions
Inactive
wdconinc
temporarily deployed
to
github-pages
September 3, 2026 00:48 — with
GitHub Actions
Inactive
wdconinc
temporarily deployed
to
github-pages
September 3, 2026 17:59 — with
GitHub Actions
Inactive
Contributor
Author
wdconinc
enabled auto-merge (squash)
September 3, 2026 18:23
wdconinc
temporarily deployed
to
github-pages
September 3, 2026 23:43 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Dependencies
Briefly, what does this PR introduce? Please link to any relevant presentations or discussions.
This PR updates the material map validation script to Acts v46.8.1:
What is the urgency of this PR?
CI is currently broken on
main.What kind of change does this PR introduce?
Please check if any of the following apply