When an argument for a function (in particular run_stage) is expected (say particles) but is misspelled then an error is thrown.
However if n_cores > 1 the error is sometimes (maybe always) misattributed to a different line in the source code - meaning any attempts to diagnose the issue are incorrectly focussed.
Automatic detection of unexpected arguments to run_stage with early and informative error messages would be of assistance here.
When an argument for a function (in particular
run_stage
) is expected (sayparticles
) but is misspelled then an error is thrown.However if n_cores > 1 the error is sometimes (maybe always) misattributed to a different line in the source code - meaning any attempts to diagnose the issue are incorrectly focussed.
Automatic detection of unexpected arguments to
run_stage
with early and informative error messages would be of assistance here.