Skip to content

Commit 191306a

Browse files
committed
[tutorials] Add conditional veto for RooFit tutorial requiring dataframe
The `rf618_mixture_models.py` tutorial requires `df106_HiggsToFourLeptons.py`, becuase this tutorial produces the input file. Also, use explicit names to veto the `rf408_RDataFrameToRooFit` tutorials instead of globbing, which is more fragile because less `git grep`able.
1 parent d36655b commit 191306a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tutorials/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,12 @@ if (NOT dataframe)
116116
list(APPEND dataframe_veto machine_learning/RBatchGenerator_TensorFlow.py)
117117
list(APPEND dataframe_veto machine_learning/RBatchGenerator_PyTorch.py)
118118
list(APPEND dataframe_veto machine_learning/RBatchGenerator_filters_vectors.py)
119-
# RooFit tutorial depending on RDataFrame
120-
list(APPEND dataframe_veto roofit/roofit/rf408*)
119+
# RooFit tutorials depending on RDataFrame
120+
list(APPEND dataframe_veto
121+
roofit/roofit/rf408_RDataFrameToRooFit.C
122+
roofit/roofit/rf408_RDataFrameToRooFit.py
123+
roofit/roofit/rf618_mixture_models.py # depends on analysis/dataframe/df106_HiggsToFourLeptons.py
124+
)
121125
endif()
122126

123127
if(NOT sqlite)

0 commit comments

Comments
 (0)