Removed timestamp from output files in case of blackbox algorithms
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@158440 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d9a45d6a24
commit
a805217072
|
@ -176,12 +176,12 @@ public class GeneralPurposeScriptProducer {
|
||||||
|
|
||||||
for (Triple o : output) {
|
for (Triple o : output) {
|
||||||
sb.append(o.a + "<-\"" + o.b + "\"" + System.lineSeparator());
|
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"
|
// sb.append("#fixed code to add some randomness to the output file name and save concurrent requests"
|
||||||
+ System.lineSeparator());
|
// + System.lineSeparator());
|
||||||
sb.append(o.a + "<-paste(" + o.a + ",'_',Sys.time(),sep='')" + 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(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("file.rename('" + o.b + "'," + o.a + ")" + System.lineSeparator());
|
||||||
|
|
||||||
sb.append("cat('Output Parameter:" + o.a + "'," + o.a + ",'\\n'" + ")" + System.lineSeparator());
|
sb.append("cat('Output Parameter:" + o.a + "'," + o.a + ",'\\n'" + ")" + System.lineSeparator());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue