Skip to content

Commit

Permalink
fix: grammar
Browse files Browse the repository at this point in the history
Co-authored-by: Andre Sailer <[email protected]>
  • Loading branch information
wdconinc and andresailer authored Feb 5, 2024
1 parent cc9994b commit 823c597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDG4/python/DDSim/Helper/Action.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def makeListOfDictFromJSON(val):
if isinstance(val, tuple):
# assumes: ( "Geant4TestEventAction", {"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])
if isinstance(val, dict):
# assumes: { "name": "Geant4TestEventAction", "parameter": {"Property_int": 10} }
Expand Down

0 comments on commit 823c597

Please sign in to comment.