From 0792103e86fc539d6d6a7fc130011003fe53ee98 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Mon, 19 Jun 2017 15:23:50 +0000 Subject: [PATCH] ref 8819: Extend The Algorithms Importer to Manage Many Processes as Black Boxes https://support.d4science.org/issues/8819 Updated the support for Processes as Black Boxes git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@150430 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../server/blackbox/GeneralPurposeScriptProducer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c5ff276..20f8667 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 @@ -97,7 +97,7 @@ public class GeneralPurposeScriptProducer { sb.append("command = paste(external_process_to_invoke"); for (Triple in : input) { - sb.append("," + in.a); + sb.append(","+"paste('\"',"+in.a+",'\"',sep='')"); } sb.append(",sep=\" \")" + System.lineSeparator());