Update the permutation function at the very top of the function (
|
matched_data_int = matched_data.drop_duplicates().copy() |
) so that for a given target scenario-ensemble member-window, any matches of that exact scenario-ensemble member-window are filtered out (ie so that there's no chance of literally reconstructing the same target). The rest of the permutation code will work no problem from there. It's not mattered before now because we've primarily looked at bracketing experiments where the target scenario isn't in the archive to begin with.
Update the permutation function at the very top of the function (
stitches/stitches/fx_recepie.py
Line 194 in f7d748b