Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed flatten subsample behaviour not working on batch #21

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

GiacomoBoldrini
Copy link

The flatten subsample implementation with lambda functions was cryptic and was not working in batch mode.
Now it is turned into a simple flag that can be specified in the samples dictionary. If the value is 0 then one recovers the normal behaviour, prepending the sample name to the subsample one. If 1 is specified, the sample name is dropped.
This fix is sufficient and covers all cases as user are free to specify whatever subsample name.

Both local and batch execution have been tested successfully.

Example docs updated.

Note: it was raised some months ago that nuisances could not be applied to only specific subsamples (it was either all of them or none of them). Now it is possible (at least for weight type uncertainties) to compute them only on a set of subsamples. I do not know if this feature was implemented before but it is worth reminding it in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant