Fixed output timestamp error
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@157376 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
274d24d52f
commit
a05de7e000
|
@ -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"
|
||||
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("file.rename('" + o.b + "'," + o.a + ")" + System.lineSeparator());
|
||||
|
||||
sb.append("cat('Output Parameter:" + o.a + "'," + o.a + ",'\\n'" + ")" + System.lineSeparator());
|
||||
|
||||
|
|
Loading…
Reference in New Issue