From a67c3263e3958f37b81bc7076e29e59cf6980d33 Mon Sep 17 00:00:00 2001 From: Marta Czurylo Date: Thu, 12 Dec 2024 09:25:43 +0100 Subject: [PATCH] fix path --- tutorials/visualisation/geom/geometry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/visualisation/geom/geometry.py b/tutorials/visualisation/geom/geometry.py index 557822bd094e7..7ef07055412dd 100644 --- a/tutorials/visualisation/geom/geometry.py +++ b/tutorials/visualisation/geom/geometry.py @@ -10,10 +10,10 @@ import os import ROOT -macrodir = os.path.join(str(ROOT.gROOT.GetTutorialDir()), 'geom') +macrodir = os.path.join(str(ROOT.gROOT.GetTutorialDir()), 'visualisation', 'geom') # the na49.C file was generated, so no python conversion is provided -ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( os.path.join( macrodir, os.pardir, 'visualisation', 'geom', 'na49.C' ) ) ) +ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( os.path.join( macrodir, 'na49.C' ) ) ) exec(open(os.path.join( macrodir, 'na49visible.py')).read()) exec(open(os.path.join( macrodir, 'na49geomfile.py')).read())