cta-observatory / ctapipe

Low-level data processing pipeline software for CTAO or similar arrays of Imaging Atmospheric Cherenkov Telescopes
https://ctapipe.readthedocs.org
BSD 3-Clause "New" or "Revised" License
63 stars 269 forks source link

Do not use hidden attribute `reconstructor._models` in `ctapipe-apply-models` #2418

Closed LukasBeiske closed 12 months ago

LukasBeiske commented 12 months ago

Hidden attributes should not be used outside the class they are defined in. Catching the KeyError is better here.