Open rymuelle opened 1 year ago
This is a bug in the CH datacard parser. Because in text2workspace cards are accepted if the two process
lines are swapped, we have some logic in the CH parser to try and guess which is which, by seeing in the entry is convertible to int or not. Unfortunately it tries 125
here, which is convertible, and it decides this must be the process index, and 0
on the line below must be the process name. Would be better if we assume the first line is the name in the case both are convertible to int. For now, I think you might be able to get it working by swapping these two lines in the card.
When running
ValidateDatacards.py datacard.txt
, I get:However, the datacard in question does not require "SR1-sys_0_nominal-0", and I am unsure what sort of pattern ValidateDatacard is looking for that would cause it to look for this TH1.
Datacard in question: