Skip to content
Snippets Groups Projects
Commit d9261577 authored by Wouter Deconinck's avatar Wouter Deconinck Committed by MarkusFrankATcernch
Browse files

fix: grammar


Co-authored-by: default avatarAndre Sailer <andre.philippe.sailer@cern.ch>
parent 3830df78
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ On the command line, these can be specified as JSON strings. ...@@ -142,7 +142,7 @@ On the command line, these can be specified as JSON strings.
if isinstance(val, tuple): if isinstance(val, tuple):
# assumes: ( "Geant4TestEventAction", {"Property_int": 10} ) # assumes: ( "Geant4TestEventAction", {"Property_int": 10} )
# creates: { "name": "Geant4TestEventAction", "parameter": {"Property_int": 10} } # creates: { "name": "Geant4TestEventAction", "parameter": {"Property_int": 10} }
# note: not able to specified as json which only allows a list # note: not able to be specified as json which only allows a list
val = dict(name=val[0], parameter=val[1]) val = dict(name=val[0], parameter=val[1])
if isinstance(val, dict): if isinstance(val, dict):
# assumes: { "name": "Geant4TestEventAction", "parameter": {"Property_int": 10} } # assumes: { "name": "Geant4TestEventAction", "parameter": {"Property_int": 10} }
......
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