sampleSets - ensemble results
As noted by @THO during testing of !524 (merged), there has been a change in behaviour and/or syntax of the sampledSets results.
Previously would have accessed the results with something like average(p)
. However, this perhaps was not actually delivering what the user thought it was. For a single set it is no problem. However, with multiple sets it was simply overwriting each time. This means that results field was actually just from the last set in the list.
Adjust the results output to include ensemble values as well, but also support individual values.
Eg,
average(lines,p) // Average for 'lines' set
average(p) // Ensemble average