Skip to content
Snippets Groups Projects

Helper module to check for NaN values in produced ntuples

Merged Eduardo Rodrigues requested to merge erodrigu-issue-94 into master
All threads resolved!
Files
3
@@ -27,7 +27,13 @@
<argument name="error_reference"><text>../refs/empty.ref</text></argument>
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor, counter_preprocessor
validateWithReference(preproc = preprocessor, counter_preproc = counter_preprocessor)
countErrorLines({"FATAL":0, "ERROR":0})
# Check there are no NaN values in the ntuple
from DaVinciTests.QMTest.check_helpers import has_nan
+1
assert not has_nan("DV_example_configFuntuple_ntp.root", "Tuple_B0Dspi/DecayTree")
</text></argument>
</extension>
Loading