I3highestparticleextractor mctree particle changed

Đang mở
#858 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@Aske-Rosted đang làm issue này rồi.

Từ ngày 6/1/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
Python
Star
117
Fork
115
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của graphnet-team/graphnet

Tất cả issue của graphnet-team/graphnet

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.