Skip to content

Commit c8ae723

Browse files
committed
[tmva][sofie] Check tmva-sofie build option for SOFIE tutorials veto
Follows up on 178a9f9, where the SOFIE Keras and PyTorch parsers were moved from `tmva/pymva` to `tmva/sofie_parsers` and are now conditional on the `tmva-sofie` and not `tmva-pymva` configuration flag. It was forgotten to update the corresponding configuration checks in the CMakeLists.txt of the tutorials.
1 parent 1af1545 commit c8ae723

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tutorials/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,18 +350,17 @@ else()
350350
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_RDataFrame.C)
351351
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_RSofieReader.C)
352352
endif()
353-
if (NOT tmva-pymva OR NOT ROOT_KERAS_FOUND)
353+
if (NOT tmva-sofie OR NOT ROOT_KERAS_FOUND)
354354
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_Keras.C)
355355
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_Keras_HiggsModel.C)
356356
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_RDataFrame.C)
357357
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_RDataFrame_JIT.C)
358358
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_RSofieReader.C)
359359
endif()
360-
if (NOT tmva-pymva OR NOT ROOT_TORCH_FOUND)
360+
if (NOT tmva-sofie OR NOT ROOT_TORCH_FOUND)
361361
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_PyTorch.C)
362362
endif()
363-
# The following tutorials use PyMVA functionality
364-
if (NOT tmva-pymva)
363+
if (NOT tmva-sofie)
365364
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_RDataFrame.py)
366365
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_Models.py)
367366
list(APPEND tmva_veto machine_learning/TMVA_SOFIE_Inference.py)

0 commit comments

Comments
 (0)