PaNOSC-ViNYL / SimEx

Start-to-end photon experiment simulation platform
https://simex.readthedocs.io/
GNU General Public License v3.0
26 stars 25 forks source link

Load geometry from .geom file directly #206

Closed JunCEEE closed 4 years ago

JunCEEE commented 4 years ago
  File "SimEx/Parameters/DetectorGeometry.py", line 384, in panels
    raise TypeError( "Parameter 'panels' must be a list of instances, tuple of instances, or a single instance of the  DetectorPanel class.")
TypeError: Parameter 'panels' must be a list of instances, tuple of instances, or a single instance of the  DetectorPanel class.

Error comes out when setting detector_geometry='tmp.geom'.