diff --git a/DDG4/python/DDG4.py b/DDG4/python/DDG4.py index 33bd4672c..d98cc39b2 100644 --- a/DDG4/python/DDG4.py +++ b/DDG4/python/DDG4.py @@ -670,7 +670,7 @@ def setupDetector(self, name, action, collections=None): 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 @@ def setupCalorimeter(self, name, type=None, collections=None): # noqa: A001,A00 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 c817f8979..09e63c545 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")