In my code, system parameters are passed (as params) into policy and state update functions as a list with a single dictionary item. For example, params might look like:
[
{
'a': 1,
'b': 2,
...
}
]
This feels unintuitive, and necessitates something like params, = params (shorthand for params = params[0]) at the top of each function.
In my code, system parameters are passed (as
params
) into policy and state update functions as a list with a single dictionary item. For example,params
might look like:This feels unintuitive, and necessitates something like
params, = params
(shorthand forparams = params[0]
) at the top of each function.Separately, this issue was discussed here.
This PR may fixes this issue for me, in
EXEC_MODE.single_proc
mode, version0.4.28
.Before considering a merge, a discussion should be had about whether this is expected to work across the gamut of execution modes.