From c6787fe74b9efface99e2bd8359fc5d20e077cdd Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Wed, 2 Oct 2019 13:46:38 +0200 Subject: [PATCH] DDSim.ParticleHandler: fix error in logging --- DDG4/python/DDSim/Helper/ParticleHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DDG4/python/DDSim/Helper/ParticleHandler.py b/DDG4/python/DDSim/Helper/ParticleHandler.py index db5864f61..d502f5c87 100644 --- a/DDG4/python/DDSim/Helper/ParticleHandler.py +++ b/DDG4/python/DDSim/Helper/ParticleHandler.py @@ -132,8 +132,8 @@ class ParticleHandler(ConfigHelper): user.TrackingVolume_Zmax = DDG4.tracker_region_zmax user.TrackingVolume_Rmax = DDG4.tracker_region_rmax logger.info(" *** definition of tracker region *** ") - logger.info(" tracker_region_zmax = ", user.TrackingVolume_Zmax) - logger.info(" tracker_region_rmax = ", user.TrackingVolume_Rmax) + logger.info(" tracker_region_zmax = %s", user.TrackingVolume_Zmax) + logger.info(" tracker_region_rmax = %s", user.TrackingVolume_Rmax) logger.info(" ************************************ ") except AttributeError as e: logger.error("Attribute of tracker region missing in detector model %s", e) -- GitLab