You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@taverna.apache.org by "Raul Palma (JIRA)" <ji...@apache.org> on 2017/05/04 22:00:06 UTC
[jira] [Comment Edited] (TAVERNA-1018) newlines are stripped out
from embedded scripts (e.g., python) in the t2flow, when executing in
taverna server
[ https://issues.apache.org/jira/browse/TAVERNA-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997502#comment-15997502 ]
Raul Palma edited comment on TAVERNA-1018 at 5/4/17 9:59 PM:
-------------------------------------------------------------
This happens with Tool service, using the advanced tab and copying there the code (e.g., python script).
This also happens with Rshell service with the code in the script tab.
I found two workarounds for now:
i) In the case of python script, I uploaded the python script to some URL, and then in the command tab (tool service) write the commands to download it (curl) and execute it.
ii) In the case of r script, replace newlines with "; ".
was (Author: rapw3k):
This happens with Tool service, using the advanced tab and copying there the code (e.g., python script).
This also happens with Rshell service with the code in the script tab.
I found two workarounds for now:
i) In the case of python script, I uploaded the python script to some URL, and then in the command tab download it (curl) and execute it.
ii) In the case of r script, replace newlines with "; ".
> newlines are stripped out from embedded scripts (e.g., python) in the t2flow, when executing in taverna server
> ---------------------------------------------------------------------------------------------------------------
>
> Key: TAVERNA-1018
> URL: https://issues.apache.org/jira/browse/TAVERNA-1018
> Project: Apache Taverna
> Issue Type: Bug
> Components: Taverna Server
> Reporter: Raul Palma
>
> This problem only occur with taverna server. Taverna workbench seems to be ok.
> Try for instance the simple example t2flow from: http://www.myexperiment.org/workflows/4218.html
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)