Skip to content
Snippets Groups Projects
Commit ea1ed765 authored by Markus Frank's avatar Markus Frank Committed by MarkusFrankATcernch
Browse files

Remove python style errors

parent c3b46278
No related branches found
No related tags found
No related merge requests found
......@@ -264,7 +264,8 @@ def _adopt_sequence_action(self, name, **options):
def _adopt_processor(self, action, containers):
proc = Interface.toContainerProcessor(_get_action(action))
attr = getattr(_get_action(self), '__adopt_processor')(proc, containers)
attr = getattr(_get_action(self), '__adopt_processor')
attr(proc, containers)
# ---------------------------------------------------------------------------
......
......@@ -26,7 +26,7 @@ def run():
move_seq = signal.adopt_action('DigiContainerSequenceAction/MoveSignal',
parallel=True, input_mask=0x0, input_segment='inputs')
mover = digi.create_action('DigiIPMover/MoveIPSignal')
mover.adopt_property(set_ip, "interaction_point", "interaction_point");
mover.adopt_property(set_ip, "interaction_point", "interaction_point")
conts = [c for c in digi.containers()]
conts.append('MCParticles')
move_seq.adopt_container_processor(mover, conts)
......
......@@ -99,9 +99,7 @@ def run():
ph.enableUI()
phys.adopt(ph)
phys.dump()
phys.dump()
# Start the engine...
geant4.execute()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment