diff options
| author | Andy Mastbaum <mastbaum@hep.upenn.edu> | 2012-05-01 11:46:30 -0400 |
|---|---|---|
| committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:39 -0700 |
| commit | 8a4a94466930205826c638a69a3501b6aecd5006 (patch) | |
| tree | 61196154e6b40e3cbebc9b7ac7fa7b75ec6f2d05 /chroma | |
| parent | b22129a30493e415a6d239cc64f1695eb1a8be93 (diff) | |
| download | chroma-8a4a94466930205826c638a69a3501b6aecd5006.tar.gz chroma-8a4a94466930205826c638a69a3501b6aecd5006.tar.bz2 chroma-8a4a94466930205826c638a69a3501b6aecd5006.zip | |
more unit test fixes
update remaining unit tests to build BVHs with
``loader.create_geometry_from_obj`` instead of the (removed) ``build``
method.
Diffstat (limited to 'chroma')
| -rw-r--r-- | chroma/sim.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chroma/sim.py b/chroma/sim.py index c7b2026..a8b0c90 100644 --- a/chroma/sim.py +++ b/chroma/sim.py @@ -40,10 +40,6 @@ class Simulation(object): self.context = gpu.create_cuda_context(cuda_device) - if not hasattr(detector, 'mesh'): - # need to build geometry - detector.build() - if hasattr(detector, 'num_channels'): self.gpu_geometry = gpu.GPUDetector(detector) self.gpu_daq = gpu.GPUDaq(self.gpu_geometry) |
