IAP GITLAB

Skip to content
Snippets Groups Projects

hardened ParticleData.xml readout against double definition

Merged Maximilian Reininghaus requested to merge mreininghaus/corsika:pdxml_reader into master

Both "h0" and "H0" are mapped to the same CORSIKA identifier if you are not careful, so one gets silently overwritten by the other. This MR resolves the issue by raising a RuntimeError if such a situation is encountered, i.e. the build fails.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading