diff --git a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/blackbox/GeneralPurposeScriptProducer.java b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/blackbox/GeneralPurposeScriptProducer.java index c6e2fa0..71e6c78 100644 --- a/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/blackbox/GeneralPurposeScriptProducer.java +++ b/src/main/java/org/gcube/portlets/user/statisticalalgorithmsimporter/server/blackbox/GeneralPurposeScriptProducer.java @@ -176,12 +176,12 @@ public class GeneralPurposeScriptProducer { for (Triple o : output) { sb.append(o.a + "<-\"" + o.b + "\"" + System.lineSeparator()); - sb.append("#fixed code to add some randomness to the output file name and save concurrent requests" - + System.lineSeparator()); - sb.append(o.a + "<-paste(" + o.a + ",'_',Sys.time(),sep='')" + System.lineSeparator()); - sb.append(o.a + "<-gsub(' ', '_', " + o.a + ")" + System.lineSeparator()); - sb.append(o.a + "<-gsub(':', '_', " + o.a + ")" + System.lineSeparator()); - sb.append("file.rename('" + o.b + "'," + o.a + ")" + System.lineSeparator()); +// sb.append("#fixed code to add some randomness to the output file name and save concurrent requests" +// + System.lineSeparator()); +// sb.append(o.a + "<-paste(" + o.a + ",'_',Sys.time(),sep='')" + System.lineSeparator()); +// sb.append(o.a + "<-gsub(' ', '_', " + o.a + ")" + System.lineSeparator()); +// sb.append(o.a + "<-gsub(':', '_', " + o.a + ")" + System.lineSeparator()); +// sb.append("file.rename('" + o.b + "'," + o.a + ")" + System.lineSeparator()); sb.append("cat('Output Parameter:" + o.a + "'," + o.a + ",'\\n'" + ")" + System.lineSeparator());