diff options
| author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-17 10:36:22 -0400 |
|---|---|---|
| committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-17 10:36:22 -0400 |
| commit | e33c6fab8b8dd8adb3d71af8517dfe45ba264cf7 (patch) | |
| tree | 350af8a727bbb035214b6beea1915741119dd59c /detectors/__init__.py | |
| parent | 1476f921813e60cf3749a5d03b9ed5cbf1951db6 (diff) | |
| download | chroma-e33c6fab8b8dd8adb3d71af8517dfe45ba264cf7.tar.gz chroma-e33c6fab8b8dd8adb3d71af8517dfe45ba264cf7.tar.bz2 chroma-e33c6fab8b8dd8adb3d71af8517dfe45ba264cf7.zip | |
import chroma modules from subpackages with import chroma.module_name
Diffstat (limited to 'detectors/__init__.py')
| -rw-r--r-- | detectors/__init__.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/detectors/__init__.py b/detectors/__init__.py index 8550751..84e853b 100644 --- a/detectors/__init__.py +++ b/detectors/__init__.py @@ -1,15 +1,8 @@ from lbne import build_lbne from sno import build_sno as build_sno_detector - -import os -import sys +from chroma.view import buildable import inspect -dir = os.path.split(os.path.realpath(__file__))[0] -sys.path.append(dir + '/..') - -from view import buildable - # from LBNE document #3951 radius = 63.30/2 height = 76.60 |
