Often it's useful to just have a list of all the arguments in a list, where you specify each of a set of arguments. The M by N is handy, but sometimes you just want M arguments with fine control.
I think it would be fairly easy to make it so that if the first parameter name contains a comma or a semicolon, then each argument specified will be split and multiple parameters will be assigned.
{
"param1":"sc;day",
"param1Values": "rbspa;2018-02-02\nrbspa;2018-02-03\nrbspb;2018-02-01"
"param2": "",
"param2Values": "",
"script:file:/home/jbf/tmp/juno/team/digitizer/convert/brad/convertPDS.jy"
}
Also, the .batch file is hard to read, and it would be nice if param1Values could contain newlines. Maybe JSON doesn't support this.
See also https://sourceforge.net/p/autoplot/feature-requests/545/
This was actually a pretty trivial feature to implement (at the end of the day). Now you can edit the left parameter box to set sc;day and then each value with sc;day values.
For example, see https://github.com/autoplot/dev/blob/master/rfe/sf/772/script.jy, and run it with seed;red;green;blue for the argument, and for the values:
It also allows | and , to be used for the delimiters.
Last edit: Jeremy Faden 2022-02-21
See also https://sourceforge.net/p/autoplot/feature-requests/775