diff --git a/DDG4/python/DDG4.py b/DDG4/python/DDG4.py index 33bd4672c370d2b3603500b91a0a5d833aad47e3..d98cc39b29bf6e118a710f2275cf1f30fbb5f537 100644 --- a/DDG4/python/DDG4.py +++ b/DDG4/python/DDG4.py @@ -670,7 +670,7 @@ class Geant4: return (seq, acts) return (seq, acts[0]) - def setupCalorimeter(self, name, type=None, collections=None): # noqa: A001,A002 + def setupCalorimeter(self, name, type=None, collections=None): # noqa: A001 """ Setup subdetector of type 'calorimeter' and assign the proper sensitive action @@ -686,7 +686,7 @@ class Geant4: typ = self.sensitive_types[typ] return self.setupDetector(name, typ, collections) - def setupTracker(self, name, type=None, collections=None): # noqa: A001,A002 + def setupTracker(self, name, type=None, collections=None): # noqa: A001 """ Setup subdetector of type 'tracker' and assign the proper sensitive action diff --git a/examples/ClientTests/scripts/BoxOfStraws.py b/examples/ClientTests/scripts/BoxOfStraws.py index c817f8979894cf289b73369b2056896ed3daeb5a..09e63c5454975709543139ecb4fbcd58c38d74d1 100644 --- a/examples/ClientTests/scripts/BoxOfStraws.py +++ b/examples/ClientTests/scripts/BoxOfStraws.py @@ -69,6 +69,7 @@ def run(): # # Setup particle gun gun = geant4.setupGun("Gun", particle='e+', energy=10 * GeV, multiplicity=1) + gun.enableUI() # # And handle the simulation particles. part = DDG4.GeneratorAction(kernel, "Geant4ParticleHandler/ParticleHandler")