v0.2.1
This release fixes the goodness-of-fit calculation for models without auxiliary data. It also adopts the boost-histogram
v1 API, and adds a command line interface for data/model plots. The config schema is expanded to allow for region-dependent samples, systematics, and normalization factors.
Breaking changes:
workspace.WorkspaceBuilder.get_NF_modifiers
signature has changed, the function now takes a region argument in addition to a sample argument.configuration.sample_affected_by_modifier
is now calledconfiguration.sample_contains_modifier
for consistency with similar functions.
Full list of changes:
- chore: updating version to 0.2.1 (#224)
- ci: run mypy again with Python 3.7 (#223)
- feat: region-dependent modifiers (#220)
- chore: remove black version restriction and update pre-commit hook versions (#222)
- feat: make Samples property of modifiers optional (#218)
- feat: region-dependent samples (#217)
- ci: remove Codecov token (#215)
- fix: goodness-of-fit with no auxiliary data (#208)
- fix: skip typeguard 2.12 for NamedTuple compatibility (#209)
- fix: typing for registering custom template builders (#205)
- fix: compatibility with matplotlib 3.4 (#207)
- feat: boost-histogram 1.0 compatibility and typing updates (#204)
- feat: command line interface for data-MC plots (#203)
- chore: remove upper version limits for dependencies (#202)