scikit-hep / cabinetry

design and steer profile likelihood fits
https://cabinetry.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
26 stars 19 forks source link

feat: turn warnings about missing post-processed histograms into info messages #436

Closed alexander-held closed 10 months ago

alexander-held commented 10 months ago

The WARNING log level when histogram post-processing is not called seemed a bit too high. This is now an INFO level message instead.

Extending the typeguard version restrictions to handle #428.

resolves #432

* lower warning-level messages when histogram post-processing is not used to info-level messages
* temporarily restrict more typeguard versions to avoid typing_extensions conflict due to TensorFlow
codecov[bot] commented 10 months ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (a0638e1) 100.00% compared to head (89bad89) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #436 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 22 22 Lines 2072 2071 -1 Branches 338 338 ========================================= - Hits 2072 2071 -1 ``` | [Files Changed](https://app.codecov.io/gh/scikit-hep/cabinetry/pull/436?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | Coverage Δ | | |---|---|---| | [src/cabinetry/histo.py](https://app.codecov.io/gh/scikit-hep/cabinetry/pull/436?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep#diff-c3JjL2NhYmluZXRyeS9oaXN0by5weQ==) | `100.00% <100.00%> (ø)` | |

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