From 6c74a73febb89f06fc4f6e116468c1b167e24d2b Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Wed, 11 Jan 2023 17:45:51 +0100 Subject: [PATCH] Fix python style errors --- examples/ClientTests/scripts/MiniTelEdm4hepWrite.py | 2 +- examples/DDDigi/scripts/TestEdm4hepInput.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/ClientTests/scripts/MiniTelEdm4hepWrite.py b/examples/ClientTests/scripts/MiniTelEdm4hepWrite.py index 80329c684..852befed0 100644 --- a/examples/ClientTests/scripts/MiniTelEdm4hepWrite.py +++ b/examples/ClientTests/scripts/MiniTelEdm4hepWrite.py @@ -32,7 +32,7 @@ def run(): DDG4.setPrintLevel(DDG4.OutputLevel.WARNING) m.ui.Commands = [run, '/ddg4/UI/terminate'] m.configure() - wr = m.geant4.setupEDM4hepOutput('edm4hep', 'MiniTel_ddg4_edm4hep.root') + m.geant4.setupEDM4hepOutput('edm4hep', 'MiniTel_ddg4_edm4hep.root') gen = DDG4.GeneratorAction(kernel, 'Geant4GeneratorActionInit/GenerationInit') kernel.generatorAction().adopt(gen) diff --git a/examples/DDDigi/scripts/TestEdm4hepInput.py b/examples/DDDigi/scripts/TestEdm4hepInput.py index 1e775a5ef..22232a0b3 100644 --- a/examples/DDDigi/scripts/TestEdm4hepInput.py +++ b/examples/DDDigi/scripts/TestEdm4hepInput.py @@ -14,7 +14,9 @@ from __future__ import absolute_import def run(): import DigiTest digi = DigiTest.Test(geometry=None) - read = digi.input_action('DigiEdm4hepInput/SignalReader', mask=0x0, input=['../ClientTests/MiniTel_ddg4_edm4hep.root']) + read = digi.input_action('DigiEdm4hepInput/SignalReader', + mask=0x0, + input=['../ClientTests/MiniTel_ddg4_edm4hep.root']) dump = digi.event_action('DigiStoreDump/StoreDump', parallel=False) digi.check_creation([read, dump]) digi.run_checked(num_events=5, num_threads=5, parallel=3) -- GitLab