Skip to content

Commit 232b846

Browse files
committed
[tutorials] Fix vetos for UHI tutorials
Following up on #19472. One can't do `file(GLOB ..)` with two separate output variables. Also, don't claim that the tutorial `hist002_TH1_fillrandom_userfunc_uhi.py` requires mplhep and matplotlib, because it only requires NumPy.
1 parent 191306a commit 232b846

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tutorials/CMakeLists.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,8 +934,14 @@ if(ROOT_pyroot_FOUND)
934934
machine_learning/RBatchGenerator_TensorFlow.py
935935
)
936936

937-
file(GLOB requires_matplotlib requires_mplhep RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
938-
hist/hist002_TH1_fillrandom_userfunc_uhi.py
937+
file(GLOB requires_matplotlib RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
938+
hist/hist003_TH1_draw_uhi.py
939+
hist/hist007_TH1_liveupdate_uhi.py
940+
hist/hist010_TH1_two_scales_uhi.py
941+
hist/hist015_TH1_read_and_draw_uhi.py
942+
)
943+
944+
file(GLOB requires_mplhep RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
939945
hist/hist003_TH1_draw_uhi.py
940946
hist/hist007_TH1_liveupdate_uhi.py
941947
hist/hist010_TH1_two_scales_uhi.py

0 commit comments

Comments
 (0)