diff options
Diffstat (limited to 'detectors/lbne.py')
-rw-r--r-- | detectors/lbne.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/detectors/lbne.py b/detectors/lbne.py index ff38ef4..a9136dd 100644 --- a/detectors/lbne.py +++ b/detectors/lbne.py @@ -9,7 +9,7 @@ dir = os.path.split(os.path.realpath(__file__))[0] sys.path.append(dir + '/..') -import layout +import models from stl import read_stl from transform import rotate from geometry import Geometry, Solid @@ -27,7 +27,7 @@ class LBNE(Geometry): def __init__(self): super(LBNE, self).__init__() - pmt_mesh = read_stl(layout.models + '/hamamatsu_12inch.stl')/1000.0 + pmt_mesh = read_stl(models.dir + '/hamamatsu_12inch.stl')/1000.0 pmt_solid = Solid(pmt_mesh, glass, h2o) # construct the barrel |