From cde5fbd16877eaa08b0267f8d4076f36ea19aa11 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 26 Nov 2019 11:05:26 +0100 Subject: automata: fix from_json attribute readout in transitions --- lib/automata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/automata.py') diff --git a/lib/automata.py b/lib/automata.py index eab58fb..35be2fd 100755 --- a/lib/automata.py +++ b/lib/automata.py @@ -469,7 +469,7 @@ class PTA: energy_function = _json_function_to_analytic_function(transition, 'energy', pta.parameters) timeout_function = _json_function_to_analytic_function(transition, 'timeout', pta.parameters) kwargs = dict() - for key in ['arg_to_param_map', 'argument_values', 'argument_combination']: + for key in ['arguments', 'arg_to_param_map', 'argument_values', 'argument_combination', 'is_interrupt', 'set_param']: if key in transition: kwargs[key] = transition[key] origins = transition['origin'] -- cgit v1.2.3