Lucio Lelii 6 years ago
parent 0e4cc394e2
commit 22b2cfcafb

@ -236,7 +236,7 @@ public abstract class GenericRScript extends StandardLocalInfraAlgorithm {
}
if (rowFile.exists()) {
String preparedFile = new File(config.getConfigPath(), UUID.randomUUID()+rowFile.getName()).getAbsolutePath();
String preparedFile = new File(config.getConfigPath(), UUID.randomUUID()+"_"+rowFile.getName()).getAbsolutePath();
LOGGER.debug("Copying " + rowFile.getAbsolutePath() + " to " + preparedFile);
try{
org.gcube.dataanalysis.executor.rscripts.generic.FileUtils.moveFileToDirectory(rowFile, new File(config.getConfigPath()),new File(preparedFile), false);

Loading…
Cancel
Save