Drop patches accepted upstream root-FitData-assert-fix.patch root-clang-altivec-vector.patch root-format-fix.patch root-moved-file.patch root-xmlmodify-dep.patch New and improved Python bindings The new Python bindings can be built for both Python 2 and Python 3 out of the box. Dropped the workaround in specfile for this (EPEL 7) Dropped the python3-other packages (EPEL 7) The new Python bindings has split the TPython interface to a separate library. Now in a separate root-tpython package root-tpython and root-tmva-python are now using Python 3 on EPEL 7 New subpackage root-gui-browsable New patches (submitted upstream) Fix too aggressive -Werror replacements Add missing call to TFile::SetCacheFileDir in a TMVA tutorial Adjust stressGraphics.ref Fix off-by-one error in histogram v7 bin iterator Compatibility with python 2.7 versions before 2.7.9 Fix the RNTuple.LargeFile test on 32bit (i386 and armv7hf) Fix doxygen issues Fix bad regex in TProofMgr Compatibility with xrootd 5
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
From 0bf4cdfee3f2189f4d43f7cde9ba114ce682cac5 Mon Sep 17 00:00:00 2001
|
|
From: Mattias Ellert <mattias.ellert@physics.uu.se>
|
|
Date: Mon, 29 Jun 2020 12:08:15 +0200
|
|
Subject: [PATCH] Add missing call to TFile::SetCacheFileDir(".")
|
|
|
|
Without it the following TFile::Open call using the CACHEREAD option
|
|
will as work as intrnded:
|
|
inputFile = TFile::Open(inputFileLink, "CACHEREAD");
|
|
---
|
|
tutorials/tmva/TMVA_Higgs_Classification.C | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/tutorials/tmva/TMVA_Higgs_Classification.C b/tutorials/tmva/TMVA_Higgs_Classification.C
|
|
index 6b4a8ed028..85dffc2790 100644
|
|
--- a/tutorials/tmva/TMVA_Higgs_Classification.C
|
|
+++ b/tutorials/tmva/TMVA_Higgs_Classification.C
|
|
@@ -72,9 +72,8 @@ Define now input data file and signal and background trees
|
|
if (!inputFile) {
|
|
// download file from Cernbox location
|
|
Info("TMVA_Higgs_Classification","Download Higgs_data.root file");
|
|
+ TFile::SetCacheFileDir(".");
|
|
inputFile = TFile::Open(inputFileLink, "CACHEREAD");
|
|
- //gSystem->Exec( TString::Format("wget -O %s %s",inputFileName.Data(), downloadLinkFile.Data() ) );
|
|
- //inputFile = TFile::Open( inputFileName);
|
|
if (!inputFile) {
|
|
Error("TMVA_Higgs_Classification","Input file cannot be downloaded - exit");
|
|
return;
|
|
--
|
|
2.26.2
|
|
|