You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug report is created as a TODO for the next iteration of the software
JSON sterilised data does not come with a Bkg tag. Hence the if condition below, which is looking for Bkg within samples, will never be invoked. @Ga0l said that the Bkg tag is added for simplified JSON. This does not generally exist; this is not future proof since it's not generic for any future simplified statistical model generator. A simple workaround can be implemented without the need to check sample names. Since JSON files are independent of the patches, one can go through the entire sample without merging them and extract the necessary information from a non-merged workspace.
This bug report is created as a TODO for the next iteration of the software
JSON sterilised data does not come with a
Bkg
tag. Hence the if condition below, which is looking forBkg
within samples, will never be invoked. @Ga0l said that theBkg
tag is added for simplified JSON. This does not generally exist; this is not future proof since it's not generic for any future simplified statistical model generator. A simple workaround can be implemented without the need to check sample names. Since JSON files are independent of the patches, one can go through the entire sample without merging them and extract the necessary information from a non-merged workspace.The function in question can be found below:
smodels/smodels/tools/pyhfInterface.py
Lines 551 to 573 in 53ffc53
Thanks, @Ga0l and @WolfgangWaltenberger, for the explanations.
The text was updated successfully, but these errors were encountered: