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

Fix python style according to Flake8

parent ce55e2a2
No related branches found
No related tags found
No related merge requests found
...@@ -282,11 +282,12 @@ def run(): ...@@ -282,11 +282,12 @@ def run():
act.vector_PxPyPzEVector = [(1 * GeV,2 * GeV,3 * GeV,4 * GeV), act.vector_PxPyPzEVector = [(1 * GeV,2 * GeV,3 * GeV,4 * GeV),
(11 * GeV,22 * GeV,33 * GeV,44 * GeV), (11 * GeV,22 * GeV,33 * GeV,44 * GeV),
(111 * GeV,222 * GeV,333 * GeV,444 * GeV)] (111 * GeV,222 * GeV,333 * GeV,444 * GeV)]
print(dir(act.prop_int))
print(dir(act.get())) act.enableUI()
print(dir(act.get().properties))
# Check read access: # Check read access:
<<<<<<< HEAD <<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
print('-------------------------------------------------------') print('-------------------------------------------------------')
print(act.prop_str) # 'Hello World!' print(act.prop_str) # 'Hello World!'
...@@ -334,6 +335,10 @@ def run(): ...@@ -334,6 +335,10 @@ def run():
print('--> %s'%(str(act.prop_PxPyPzEVector),)) # (1 * GeV,2 * GeV,3 * GeV,4 * GeV) print('--> %s'%(str(act.prop_PxPyPzEVector),)) # (1 * GeV,2 * GeV,3 * GeV,4 * GeV)
print('--> %s'%(str('-------------------------------------------------------'),)) print('--> %s'%(str('-------------------------------------------------------'),))
======= =======
||||||| parent of 297d253e (Fix python style according to Flake8)
=======
"""
>>>>>>> 297d253e (Fix python style according to Flake8)
print('--> {value}'.format(value='-------------------------------------------------------')) print('--> {value}'.format(value='-------------------------------------------------------'))
print('--> {value}'.format(value=str(act.prop_str))) # 'Hello World!' print('--> {value}'.format(value=str(act.prop_str))) # 'Hello World!'
print('--> {value}'.format(value=str(act.prop_bool))) # True print('--> {value}'.format(value=str(act.prop_bool))) # True
...@@ -344,9 +349,16 @@ def run(): ...@@ -344,9 +349,16 @@ def run():
print('--> {value}'.format(value=str(act.prop_XYZVector))) # (1 * m,2 * m,3 * m) print('--> {value}'.format(value=str(act.prop_XYZVector))) # (1 * m,2 * m,3 * m)
print('--> {value}'.format(value=str(act.prop_PxPyPzEVector))) # (1 * GeV,2 * GeV,3 * GeV,4 * GeV) print('--> {value}'.format(value=str(act.prop_PxPyPzEVector))) # (1 * GeV,2 * GeV,3 * GeV,4 * GeV)
print('--> {value}'.format(value='-------------------------------------------------------')) print('--> {value}'.format(value='-------------------------------------------------------'))
<<<<<<< HEAD
>>>>>>> d656762e (Fix python style according to Flake8) >>>>>>> d656762e (Fix python style according to Flake8)
act.enableUI() act.enableUI()
||||||| parent of 297d253e (Fix python style according to Flake8)
act.enableUI()
=======
"""
>>>>>>> 297d253e (Fix python style according to Flake8)
# Check read access: # Check read access:
logger.info('+{value}'.format(value='-------------------------------------------------------')) logger.info('+{value}'.format(value='-------------------------------------------------------'))
......
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