Here's an example of an ill-formatted action (missing end }) that pyBioNetGen doesn't raise an exception for and doesn't parse as intended
simulate_ssa({t_start=>0,t_end=>1000000,n_steps=>1000,seed=>2);
The parsed args for the action can be accessed as below
model.actions.items[0].args
This returns this data structure
[
('{t_start=>0', None),
('t_end=>1000000', None),
('n_steps=>1000', None),
('seed=>2', None)
]
The first argument is not parsed as intended.