From 6ef89f47bc040b14cc79742ea041cae2f0b1cdfc Mon Sep 17 00:00:00 2001 From: Markus FRANK <Markus.Frank@cern.ch> Date: Wed, 11 Nov 2020 18:54:17 +0100 Subject: [PATCH] Fix to python warning --- DDCore/src/DetectorImp.cpp | 1 - DDG4/examples/SiDSim.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/DDCore/src/DetectorImp.cpp b/DDCore/src/DetectorImp.cpp index 59ac8f4a8..ca89daac9 100644 --- a/DDCore/src/DetectorImp.cpp +++ b/DDCore/src/DetectorImp.cpp @@ -679,7 +679,6 @@ void DetectorImp::endDocument(bool close_geometry) { // Patching shape names of anaonymous shapes ShapePatcher patcher(m_volManager, m_world); patcher.patchShapes(); - mapDetectorTypes(); m_state = READY; } diff --git a/DDG4/examples/SiDSim.py b/DDG4/examples/SiDSim.py index 11e61f76c..1cee7359a 100644 --- a/DDG4/examples/SiDSim.py +++ b/DDG4/examples/SiDSim.py @@ -56,7 +56,7 @@ def run(): if hlp: help() sys.exit(1) - + kernel = DDG4.Kernel() description = kernel.detectorDescription() install_dir = os.environ['DD4hepINSTALL'] -- GitLab