diff HighResPrecursorMassCorrector.xml @ 1:108f550ea3c4 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 820d990f9217706e693b8a2f1da91e13c09cb0fb
author galaxyp
date Tue, 18 Apr 2017 16:06:58 -0400
parents e37289d08990
children 3419097ac19f
line wrap: on
line diff
--- a/HighResPrecursorMassCorrector.xml	Wed Mar 01 12:55:06 2017 -0500
+++ b/HighResPrecursorMassCorrector.xml	Tue Apr 18 16:06:58 2017 -0400
@@ -28,7 +28,12 @@
   -feature:mz_tolerance $param_feature_mz_tolerance
 #end if
 #if $param_feature_mz_tolerance_unit:
-  -feature:mz_tolerance_unit $param_feature_mz_tolerance_unit
+  -feature:mz_tolerance_unit
+  #if " " in str($param_feature_mz_tolerance_unit):
+    "$param_feature_mz_tolerance_unit"
+  #else
+    $param_feature_mz_tolerance_unit
+  #end if
 #end if
 #if $param_feature_rt_tolerance:
   -feature:rt_tolerance $param_feature_rt_tolerance
@@ -46,7 +51,12 @@
   -nearest_peak:mz_tolerance $param_nearest_peak_mz_tolerance
 #end if
 #if $param_nearest_peak_mz_tolerance_unit:
-  -nearest_peak:mz_tolerance_unit $param_nearest_peak_mz_tolerance_unit
+  -nearest_peak:mz_tolerance_unit
+  #if " " in str($param_nearest_peak_mz_tolerance_unit):
+    "$param_nearest_peak_mz_tolerance_unit"
+  #else
+    $param_nearest_peak_mz_tolerance_unit
+  #end if
 #end if
 #if $adv_opts.adv_opts_selector=='advanced':
     #if $adv_opts.param_force: