Issues from https://github.com/VERITAS-Observatory/EventDisplay_v4/issues/352#92
Merged
Conversation
67 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Updates IRF packaging/downloading scripts and manifests to address issues reported in EventDisplay_v4#352, primarily by syncing V6 tarball manifests with current epoch definitions and fixing a few script logic/robustness problems.
Changes:
- Sync
transfer/file_list_V6.datwith newer V6 epochs (2024–2026w) across multiple IRF product categories. - Fix/clean up transfer and copy scripts (failed-transfer handling in
download_irfs.sh, reachable atmosphere branch in V4/V5 gamma/hadron copy, SIMTYPE assignment cleanup). - Documentation and release-note updates (README maintainer instructions + Towncrier fragment).
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| transfer/pack_irfs_for_ucla.sh | Fixes a misspelled function name and cleans up logging for V4/V5 effective-area packing. |
| transfer/file_list_V6.dat | Adds missing tarball entries for newer V6 epochs across DispBDTs/EffectiveAreas/GammaHadronBDTs/Tables. |
| README.md | Updates maintainer instructions and adds an informational note about XGB file availability. |
| GammaHadronBDTs/copy_GammaHadron_V4_V5_BDTs.sh | Fixes an incorrect atmosphere condition intended to select the “summer” branch for ATM22. |
| download_irfs.sh | Skips extraction/cleanup when the transfer step fails. |
| docs/changes/92.bugfix.md | Adds a Towncrier bugfix fragment summarizing the PR changes. |
| DispXGB/copy_dispXGB.sh | Comments out stale SIMTYPE assignments to avoid accidental overrides. |
| DispBDTs/copy_dispBDTs.sh | Comments out stale SIMTYPE assignments and fixes ${IRVERSION} → ${IRFVERSION} in logging. |
Comments suppressed due to low confidence (2)
GammaHadronBDTs/copy_GammaHadron_V4_V5_BDTs.sh:27
EPOCHSis assigned based on the atmosphere, but it is never used anywhere in this script. As written, this block just performs an unnecessary read/sort of V6 epoch lists in a V4/V5 copy script, which is confusing and makes it look like the code depends on those files when it does not.
if [[ ${A} == "ATM22" ]]; then
EPOCHS=$(cat ../IRF_EPOCHS_SUMMER.dat | sort -u)
else
EPOCHS=$(cat ../IRF_EPOCHS_WINTER.dat | sort -u)
fi
GammaHadronBDTs/copy_GammaHadron_V4_V5_BDTs.sh:27
EPOCHSis assigned based on the atmosphere, but it is never used anywhere in this script. As written, this block just performs an unnecessary read/sort of V6 epoch lists in a V4/V5 copy script, which is confusing and makes it look like the code depends on those files when it does not.
if [[ ${A} == "ATM22" ]]; then
EPOCHS=$(cat ../IRF_EPOCHS_SUMMER.dat | sort -u)
else
EPOCHS=$(cat ../IRF_EPOCHS_WINTER.dat | sort -u)
fi
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
No description provided.