logger.debug("Executing PySelection\n" + transformMethodStmt);
// Prepare the Python interpreter
PythonRepository repo = PythonRepository.getInstance();
repo.initializeInterperter(interpreter);
repo.importUserScripts(interpreter);
repo.compileAndAddToRepositoryAndExec(interpreter, transformMethodStmt);
interpreter.set("workspaceid", workspace.getId());
interpreter.set("selectionName", superSelectionName);