changeset 1:8a51813206ac draft

Added validator to upstream region parameter
author computationaltranscriptomics
date Thu, 11 Jul 2019 17:27:06 -0400
parents 164c237477f8
children 5528ee7c99f2
files glassgo_wrapper.xml
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/glassgo_wrapper.xml	Wed Jul 10 17:11:28 2019 -0400
+++ b/glassgo_wrapper.xml	Thu Jul 11 17:27:06 2019 -0400
@@ -76,7 +76,7 @@
                                             <option value="manual">manual</option>
                                         </param>
                                         <when value="manual">
-                                            <param name="filtering" type="integer" value="2" label="manual value for iltering"/>    
+                                            <param name="filtering" type="integer" value="2" label="manual value for filtering"/>    
                                         </when>
                                     </conditional>
                                 </section>
@@ -86,7 +86,9 @@
             </conditional>
         </section>
         <section name="additional_setting" title="Additional Settings" expanded="true">
-            <param name="upstream_region" type="integer" value="0" label="Include upstream region"/>
+            <param name="upstream_region" type="integer" value="0" label="Include upstream region">
+                <validator type="in_range" min="0" message="Value must be positive" />
+            </param>
         </section>
     </inputs>
     <outputs>