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

Allow setting n_jobs on tool invocation #2430

Closed LukasNickel closed 11 months ago

LukasNickel commented 11 months ago
maxnoe commented 11 months ago

Maybe it also makes sense to set n_jobs=None for the models after training before pickling? So that the pickled models have n_jobs=None?

codecov[bot] commented 11 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (2e1011b) 92.47% compared to head (0372d11) 92.46%.

Files Patch % Lines
ctapipe/tools/apply_models.py 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2430 +/- ## ========================================== - Coverage 92.47% 92.46% -0.02% ========================================== Files 234 234 Lines 19819 19868 +49 ========================================== + Hits 18327 18370 +43 - Misses 1492 1498 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.