From d9228bf5459f0228b91210ce1f24bb72ebeeffc4 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Fri, 15 Jul 2022 12:14:16 +0200 Subject: [PATCH] Fix python style according to Flake8 --- examples/DDG4/scripts/TestProperties.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/DDG4/scripts/TestProperties.py b/examples/DDG4/scripts/TestProperties.py index eb599d792..e267b6f40 100644 --- a/examples/DDG4/scripts/TestProperties.py +++ b/examples/DDG4/scripts/TestProperties.py @@ -110,7 +110,9 @@ def run(): act.vector_PxPyPzEVector = [(1 * GeV,2 * GeV,3 * GeV,4 * GeV), (11 * GeV,22 * GeV,33 * GeV,44 * GeV), (111 * GeV,222 * GeV,333 * GeV,444 * GeV)] - + print(dir(act.prop_int)) + print(dir(act.get())) + print(dir(act.get().properties)) # Check read access: print('--> {value}'.format(value='-------------------------------------------------------')) print('--> {value}'.format(value=str(act.prop_str))) # 'Hello World!' -- GitLab