Test fix - configure script object fully before making available. Hopefully a fix for issue 18120 but have been unable to reproduce so cannot confirm.

This commit is contained in:
markharwood 2016-10-20 13:40:25 +01:00
parent e04ee40f2c
commit 4a815bf665
1 changed files with 4 additions and 4 deletions

View File

@ -81,11 +81,11 @@ public class ScriptHeuristic extends SignificanceHeuristic {
}
public void initialize(ExecutableScript executableScript) {
executableScript.setNextVar("_subset_freq", subsetDfHolder);
executableScript.setNextVar("_subset_size", subsetSizeHolder);
executableScript.setNextVar("_superset_freq", supersetDfHolder);
executableScript.setNextVar("_superset_size", supersetSizeHolder);
this.executableScript = executableScript;
this.executableScript.setNextVar("_subset_freq", subsetDfHolder);
this.executableScript.setNextVar("_subset_size", subsetSizeHolder);
this.executableScript.setNextVar("_superset_freq", supersetDfHolder);
this.executableScript.setNextVar("_superset_size", supersetSizeHolder);
}
/**