diff options
author | Anthony LaTorre <telatorre@gmail.com> | 2011-05-26 17:11:38 -0400 |
---|---|---|
committer | Anthony LaTorre <telatorre@gmail.com> | 2011-05-26 17:11:38 -0400 |
commit | 6ff042998b8c93652b82e6f34d9dfc1ef40f4c56 (patch) | |
tree | 129532bee2a10f80778061cd0d690da919292aff /detectors/lbne.py | |
parent | 36391a29dfb02a24e97b3ef9a3727201af415985 (diff) | |
download | chroma-6ff042998b8c93652b82e6f34d9dfc1ef40f4c56.tar.gz chroma-6ff042998b8c93652b82e6f34d9dfc1ef40f4c56.tar.bz2 chroma-6ff042998b8c93652b82e6f34d9dfc1ef40f4c56.zip |
cleanup
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 |