From 6ff042998b8c93652b82e6f34d9dfc1ef40f4c56 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Thu, 26 May 2011 17:11:38 -0400 Subject: cleanup --- detectors/lbne.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'detectors') 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 -- cgit