Skip to content

Issues from https://github.com/VERITAS-Observatory/EventDisplay_v4/issues/352#92

Merged
GernotMaier merged 4 commits into
mainfrom
v492.0-dev7
Jun 1, 2026
Merged

Issues from https://github.com/VERITAS-Observatory/EventDisplay_v4/issues/352#92
GernotMaier merged 4 commits into
mainfrom
v492.0-dev7

Conversation

@GernotMaier
Copy link
Copy Markdown
Member

No description provided.

@GernotMaier GernotMaier self-assigned this May 31, 2026
@GernotMaier GernotMaier requested a review from Copilot June 1, 2026 18:49
@GernotMaier GernotMaier marked this pull request as ready for review June 1, 2026 18:51
Copy link
Copy Markdown
Contributor

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

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.dat with 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

  • EPOCHS is 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

  • EPOCHS is 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.

Comment thread README.md
Comment thread docs/changes/92.bugfix.md Outdated
Comment thread README.md
Comment thread docs/changes/92.bugfix.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@GernotMaier GernotMaier merged commit 3f60964 into main Jun 1, 2026
@GernotMaier GernotMaier deleted the v492.0-dev7 branch June 1, 2026 18:54
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.

2 participants