diff --git a/documentation/doxygen/converttonotebook.py b/documentation/doxygen/converttonotebook.py index d94bb7f638b41429302f1051235f45f6b132bdbf..47dbcf2465360e76ffe9a41bb3f8399e634fad16 100644 --- a/documentation/doxygen/converttonotebook.py +++ b/documentation/doxygen/converttonotebook.py @@ -630,7 +630,7 @@ def isCpp(): def findTimeout(): listLongtutorials = ["OneSidedFrequentistUpperLimitWithBands", "StandardBayesianNumericalDemo", "TwoSidedFrequentistUpperLimitWithBands" , "HybridStandardForm", "rs401d_FeldmanCousins", - "TMVAMultipleBackgroundExample", "TMVARegression"] + "TMVAMultipleBackgroundExample", "TMVARegression", "TMVAClassification"] if tutName in listLongtutorials: return 300 else: @@ -753,7 +753,7 @@ def mainfunction(text): if r != 0: sys.stderr.write("NOTEBOOK_CONVERSION_WARNING: Nbconvert failed for notebook %s with return code %s\n" %(outname,r)) if isJsroot: - subprocess.call(["jupyter", "trust", os.path.join(outdir + outnameconverted)]) + subprocess.call(["jupyter", "trust", os.path.join(outdir, outnameconverted)]) if r == 0: # Only remove notebook without output if nbconvert succeedes os.remove(outPathName) diff --git a/tutorials/tmva/TMVAClassificationCategory.C b/tutorials/tmva/TMVAClassificationCategory.C index dc52e0f12b7dd05580c0ac8fced7154b20e3ce75..a557d6ae74609d4cf41f21171e0ade5c9457b741 100644 --- a/tutorials/tmva/TMVAClassificationCategory.C +++ b/tutorials/tmva/TMVAClassificationCategory.C @@ -87,7 +87,7 @@ void TMVAClassificationCategory() // Load the signal and background event samples from ROOT trees TFile *input(0); TString fname = TString(gSystem->DirName(__FILE__) ) + "/data/"; - if (gSystem->AccessPathName( fname )) { + if (gSystem->AccessPathName( fname + "toy_sigbkg_categ_offset.root")) { // if directory data not found try using tutorials dir fname = TString(gROOT->GetTutorialsDir()) + "/tmva/data/"; } diff --git a/tutorials/tmva/TMVAClassificationCategoryApplication.C b/tutorials/tmva/TMVAClassificationCategoryApplication.C index 44ded6ed607084d1c02d170dd40692c22fabb6e8..e2387352805374a8be043b8c5e6245631e2b59fa 100644 --- a/tutorials/tmva/TMVAClassificationCategoryApplication.C +++ b/tutorials/tmva/TMVAClassificationCategoryApplication.C @@ -84,7 +84,7 @@ void TMVAClassificationCategoryApplication() // TString fname = TString(gSystem->DirName(__FILE__) ) + "/data/"; // if directory data not found try using tutorials dir - if (gSystem->AccessPathName( fname )) { + if (gSystem->AccessPathName( fname + "toy_sigbkg_categ_offset.root" )) { fname = TString(gROOT->GetTutorialsDir()) + "/tmva/data/"; } if (UseOffsetMethod) fname += "toy_sigbkg_categ_offset.root";