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

Fix python style according to Flake8

parent 335c94e5
No related branches found
No related tags found
No related merge requests found
...@@ -284,6 +284,7 @@ def run(): ...@@ -284,6 +284,7 @@ def run():
(111 * GeV,222 * GeV,333 * GeV,444 * GeV)] (111 * GeV,222 * GeV,333 * GeV,444 * GeV)]
# Check read access: # Check read access:
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
print('-------------------------------------------------------') print('-------------------------------------------------------')
print(act.prop_str) # 'Hello World!' print(act.prop_str) # 'Hello World!'
...@@ -319,6 +320,29 @@ def run(): ...@@ -319,6 +320,29 @@ 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('-------------------------------------------------------'),))
>>>>>>> 131094de (Fix python style according to Flake8) >>>>>>> 131094de (Fix python style according to Flake8)
||||||| parent of d656762e (Fix python style according to Flake8)
print('--> %s'%(str('-------------------------------------------------------'),))
print('--> %s'%(str(act.prop_str),)) # 'Hello World!'
print('--> %s'%(str(act.prop_bool),)) # True
print('--> %s'%(str(act.prop_int),)) # 1234
print('--> %s'%(str(act.prop_float),)) # 1234567.8
print('--> %s'%(str(act.prop_double),)) # 1234567.8
print('--> %s'%(str(act.prop_XYZPoint),)) # (1,2,3)
print('--> %s'%(str(act.prop_XYZVector),)) # (1 * m,2 * m,3 * m)
print('--> %s'%(str(act.prop_PxPyPzEVector),)) # (1 * GeV,2 * GeV,3 * GeV,4 * GeV)
print('--> %s'%(str('-------------------------------------------------------'),))
=======
print('--> {value}'.format(value='-------------------------------------------------------'))
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_int))) # 1234
print('--> {value}'.format(value=str(act.prop_float))) # 1234567.8
print('--> {value}'.format(value=str(act.prop_double))) # 1234567.8
print('--> {value}'.format(value=str(act.prop_XYZPoint))) # (1,2,3)
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='-------------------------------------------------------'))
>>>>>>> d656762e (Fix python style according to Flake8)
act.enableUI() act.enableUI()
......
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