diff cdhit_macros.xml @ 5:28b7a43907f0 default tip

Fix cheetah tests of whether optional arguments are set
author Jim Johnson <jj@umn.edu>
date Thu, 29 Oct 2015 09:54:44 -0500
parents 43724ea1c85f
children
line wrap: on
line diff
--- a/cdhit_macros.xml	Fri Aug 15 10:11:31 2014 -0500
+++ b/cdhit_macros.xml	Thu Oct 29 09:54:44 2015 -0500
@@ -4,36 +4,36 @@
 
     <!-- start adv. settings -->
     #if $advanced.settings == 'yes':    
-      #if $advanced.band_width:
+      #if str($advanced.band_width) != 'None':
         -b $advanced.band_width
       #end if
-      #if $advanced.throw_away_len:
+      #if str($advanced.throw_away_len) != 'None':
         -l $advanced.throw_away_len
       #end if
-      #if $advanced.description_len:
+      #if str($advanced.description_len) != 'None':
         -d $advanced.description_len
       #end if
-      #if $advanced.cutoff_diff_len:
+      #if str($advanced.cutoff_diff_len) != 'None':
         -s $advanced.cutoff_diff_len
       #end if
-      #if $advanced.aa_cutoff_diff_len:
+      #if str($advanced.aa_cutoff_diff_len) != 'None':
         -S $advanced.aa_cutoff_diff_len
       #end if
       #if $advanced.align.style == 'local':
         -G 0
-        #if $advance.align.align_coverage_long:
+        #if str($advance.align.align_coverage_long) != 'None':
           -aL $advance.align.align_coverage_long
         #end if
-        #if $advance.align.aa_align_coverage_long:
+        #if str($advance.align.aa_align_coverage_long) != 'None':
           -AL $advance.align.aa_align_coverage_long
         #end if
-        #if $advance.aling.align_coverage_short:
+        #if str($advance.aling.align_coverage_short) != 'None':
           -aS $advance.align.align_coverage_short
         #end if
-        #if $advance.aling.aa_align_coverage_short:
+        #if str($advance.aling.aa_align_coverage_short) != 'None':
           -AS $advance.align.aa_align_coverage_short
         #end if
-        #if $advance.align.align_coverage_min:
+        #if str($advance.align.align_coverage_min) != 'None':
           -A $advance.align.aling_coverage_min
         #end if
       #end if