git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineSmartExecutor@129495 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c4799febf0
commit
d0600b0c8f
|
@ -210,9 +210,15 @@ public abstract class GenericRScript extends StandardLocalExternalAlgorithm {
|
|||
|
||||
String preparedFile = new File(config.getConfigPath(), rowFile.getName()).getAbsolutePath();
|
||||
AnalysisLogger.getLogger().debug("Copying " + rowFile.getAbsolutePath() + " to " + preparedFile);
|
||||
try{
|
||||
org.gcube.dataanalysis.executor.rscripts.generic.FileUtils.moveFileToDirectory(rowFile, new File(config.getConfigPath()), false);
|
||||
files.add(preparedFile);
|
||||
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
AnalysisLogger.getLogger().debug("error in moving file " + rowFile.getAbsolutePath() + " to " + preparedFile);
|
||||
AnalysisLogger.getLogger().debug(e);
|
||||
throw e;
|
||||
}
|
||||
break;
|
||||
} else
|
||||
AnalysisLogger.getLogger().debug("Checking row file does not exist - treating as a String");
|
||||
|
|
Loading…
Reference in New Issue