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

Ensure datacard parsing does not crash when using autoMCStats and few processes #274

Merged
merged 1 commit into from
May 17, 2022

Conversation

adewit
Copy link
Collaborator

@adewit adewit commented Apr 25, 2022

If only using a few processes, the number of words in the 'autoMCStats' line can be equal to the number of words in a normal systematics line, leading to a parsing error. This change checks that the second word of the line is not 'autoMCStats' before invoking the 'normal systematics' parsing loop. Fixes #273

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.

ValidateDatacards.py Problem: Systematic type autoMCStats not supported
1 participant