changeset 5:b3462a72ff76 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/rna_commander/tools/rna_tools/rna_commender commit 7ef62aa3d86abd4b911e35447646712a4628e7fe
author rnateam
date Fri, 29 Jul 2016 03:27:18 -0400
parents a609d6dc8047
children
files main.py rnacommender.xml
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main.py	Thu Jul 28 05:55:25 2016 -0400
+++ b/main.py	Fri Jul 29 03:27:18 2016 -0400
@@ -44,5 +44,7 @@
         P.predict()
     else:
         sys.stdout.write("""
-        The queried protein has no domain similarity with the proteins in the training dataset. It cannot be predicted.
+        ########################################
+        WARNING: The queried protein has no domain similarity with the proteins in the training dataset. It cannot be predicted.
+        ########################################
         """)
--- a/rnacommender.xml	Thu Jul 28 05:55:25 2016 -0400
+++ b/rnacommender.xml	Fri Jul 29 03:27:18 2016 -0400
@@ -9,7 +9,13 @@
         <requirement type="package" version="0.8.2">theano</requirement>
         <requirement type="package" version="2.10.0">requests</requirement>
     </requirements>
-    <command detect_errors="aggressive">
+    <stdio>
+        <exit_code range="1:" />
+        <exit_code range=":-1" />
+        <regex match="Error:" />
+        <regex match="Exception:" />
+    </stdio>
+    <command>
     <![CDATA[
         sh $__tool_directory__/init.sh 2> hide.txt &&
         THEANO_FLAGS=base_compiledir=./tmp python $__tool_directory__/main.py "$infile"