From d9261577d191d541bcc23eeac1e78d96a0b0bde4 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Mon, 5 Feb 2024 13:26:03 -0600 Subject: [PATCH] fix: grammar Co-authored-by: Andre Sailer <andre.philippe.sailer@cern.ch> --- DDG4/python/DDSim/Helper/Action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDG4/python/DDSim/Helper/Action.py b/DDG4/python/DDSim/Helper/Action.py index f87574ebf..70ddd95a8 100644 --- a/DDG4/python/DDSim/Helper/Action.py +++ b/DDG4/python/DDSim/Helper/Action.py @@ -142,7 +142,7 @@ On the command line, these can be specified as JSON strings. 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} } -- GitLab