I3highestparticleextractor mctree particle changed

Aperta
#858 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@Aske-Rosted ci sta già lavorando.

Dal 6/1/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

Describe the bug
Found a pesky bug where the values of some of the particles in the mctree are unintentionally overwritten leading to following calls of the mctree producing unexpected results. This produced no errors when running just a single I3highestparticleextractor. but when running two I ran into length mismatches between MuonGun_tracks and MMCTrackList defined at https://github.com/graphnet-team/graphnet/blob/5fe7f9f840066d9ae5e6da0cecb1d08b46daf1f5/src/graphnet/data/extractors/icecube/i3highesteparticleextractor.py#L273

To Reproduce
run an extractor with two instances of the I3highestparticleextractor.

Additional context
I have implemented a fix and will committing a PR

Lingua principale
Python
Stelle
117
Fork
115
Merge medio
2g 21h
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di graphnet-team/graphnet

Tutte le issue di graphnet-team/graphnet

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.