umami-hep / umami-preprocessing

UPP: Umami PreProcessing
1 stars 35 forks source link

Allow user to set custom flavour yaml path #52

Closed jburzy closed 10 months ago

jburzy commented 10 months ago

Adds a new config option flavour_config, which allows the user to optionally specify the path to a custom yaml file in the style of https://github.com/umami-hep/atlas-ftag-tools/blob/main/ftag/flavours.yaml. This is useful in case you want to use upp to resample datasets which have non-standard labeling scheme.

Follow-up to https://github.com/umami-hep/atlas-ftag-tools/pull/65.

Addresses #51

jburzy commented 10 months ago

test is failing with

FAILED tests/integration/test_run.py::TestClass::test_run_pdf_auto - ValueError: 7,000 jets requested, but only 11,939 are estimated to be in lowpt_ttbar_ujets. With a sampling fraction of 0.572, at most 6,829 of these are available. You can either reduce the number of requested jets or increase the sampling fraction.

which I do not believe to be related to this PR.