diff SimpleSearchEngine.xml @ 1:0ca8724c404a draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 820d990f9217706e693b8a2f1da91e13c09cb0fb
author galaxyp
date Tue, 18 Apr 2017 15:52:58 -0400
parents 2f4218b98805
children 2fad35dc953d
line wrap: on
line diff
--- a/SimpleSearchEngine.xml	Wed Mar 01 10:10:25 2017 -0500
+++ b/SimpleSearchEngine.xml	Tue Apr 18 15:52:58 2017 -0400
@@ -22,19 +22,34 @@
   -out $param_out
 #end if
 #if $param_enzyme:
-  -enzyme $param_enzyme
+  -enzyme
+  #if " " in str($param_enzyme):
+    "$param_enzyme"
+  #else
+    $param_enzyme
+  #end if
 #end if
 #if $param_precursor_mass_tolerance:
   -precursor:mass_tolerance $param_precursor_mass_tolerance
 #end if
 #if $param_precursor_mass_tolerance_unit:
-  -precursor:mass_tolerance_unit $param_precursor_mass_tolerance_unit
+  -precursor:mass_tolerance_unit
+  #if " " in str($param_precursor_mass_tolerance_unit):
+    "$param_precursor_mass_tolerance_unit"
+  #else
+    $param_precursor_mass_tolerance_unit
+  #end if
 #end if
 #if $param_fragment_mass_tolerance:
   -fragment:mass_tolerance $param_fragment_mass_tolerance
 #end if
 #if $param_fragment_mass_tolerance_unit:
-  -fragment:mass_tolerance_unit $param_fragment_mass_tolerance_unit
+  -fragment:mass_tolerance_unit
+  #if " " in str($param_fragment_mass_tolerance_unit):
+    "$param_fragment_mass_tolerance_unit"
+  #else
+    $param_fragment_mass_tolerance_unit
+  #end if
 #end if
 
 #if $rep_param_modifications_fixed: