diff SvmTheoreticalSpectrumGeneratorTrainer.xml @ 1:be688ba2bc09 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 9a14ed1f2d3c9abdfb080251b3419dd9e0c52a14
author galaxyp
date Wed, 09 Aug 2017 09:23:27 -0400
parents a92f7bc73817
children 6d9c00e778ff
line wrap: on
line diff
--- a/SvmTheoreticalSpectrumGeneratorTrainer.xml	Wed Mar 01 12:36:05 2017 -0500
+++ b/SvmTheoreticalSpectrumGeneratorTrainer.xml	Wed Aug 09 09:23:27 2017 -0400
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
 <!--Proposed Tool Section: [Utilities]-->
-<tool id="SvmTheoreticalSpectrumGeneratorTrainer" name="SvmTheoreticalSpectrumGeneratorTrainer" version="2.1.0">
+<tool id="SvmTheoreticalSpectrumGeneratorTrainer" name="SvmTheoreticalSpectrumGeneratorTrainer" version="2.2.0">
   <description>Trainer for SVM models as input for SvmTheoreticalSpectrumGenerator</description>
   <macros>
     <token name="@EXECUTABLE@">SvmTheoreticalSpectrumGeneratorTrainer</token>
@@ -40,10 +40,20 @@
   -algorithm:peak_tolerance $param_algorithm_peak_tolerance
 #end if
 #if $param_algorithm_add_b_ions:
-  -algorithm:add_b_ions $param_algorithm_add_b_ions
+  -algorithm:add_b_ions
+  #if " " in str($param_algorithm_add_b_ions):
+    "$param_algorithm_add_b_ions"
+  #else
+    $param_algorithm_add_b_ions
+  #end if
 #end if
 #if $param_algorithm_add_y_ions:
-  -algorithm:add_y_ions $param_algorithm_add_y_ions
+  -algorithm:add_y_ions
+  #if " " in str($param_algorithm_add_y_ions):
+    "$param_algorithm_add_y_ions"
+  #else
+    $param_algorithm_add_y_ions
+  #end if
 #end if
 #if $param_algorithm_add_a_ions:
   -algorithm:add_a_ions
@@ -73,7 +83,12 @@
   -algorithm:svm:svr_type $param_algorithm_svm_svr_type
 #end if
 #if $param_algorithm_svm_scaling:
-  -algorithm:svm:scaling $param_algorithm_svm_scaling
+  -algorithm:svm:scaling
+  #if " " in str($param_algorithm_svm_scaling):
+    "$param_algorithm_svm_scaling"
+  #else
+    $param_algorithm_svm_scaling
+  #end if
 #end if
 #if $param_algorithm_svm_scaling_lower:
   -algorithm:svm:scaling_lower $param_algorithm_svm_scaling_lower
@@ -106,7 +121,12 @@
   -algorithm:svm:svc:nu $param_algorithm_svm_svc_nu
 #end if
 #if $param_algorithm_svm_svc_balancing:
-  -algorithm:svm:svc:balancing $param_algorithm_svm_svc_balancing
+  -algorithm:svm:svc:balancing
+  #if " " in str($param_algorithm_svm_svc_balancing):
+    "$param_algorithm_svm_svc_balancing"
+  #else
+    $param_algorithm_svm_svc_balancing
+  #end if
 #end if
 #if $param_algorithm_svm_svc_degree_start:
   -algorithm:svm:svc:degree_start $param_algorithm_svm_svc_degree_start