scikit-hep / cabinetry

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

feat: return yield tables #338

Closed alexander-held closed 2 years ago

alexander-held commented 2 years ago

Return dict with yield tables from tabulate.yields (this previously returned None).

This can be argued to be a breaking change; while it seems unlikely that anyone is relying on the return value of None, marking this as "breaking" to be safe.

* breaking change: return dict with yield tables from tabulate.yields
* updated pre-commit
codecov[bot] commented 2 years ago

Codecov Report

Merging #338 (68293ea) into master (1b83e16) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #338   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           23        23           
  Lines         1903      1907    +4     
  Branches       303       303           
=========================================
+ Hits          1903      1907    +4     
Impacted Files Coverage Δ
src/cabinetry/tabulate.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.