changeset 12:b1bf31be0d3c default tip

Fix cheetah tests of whether optional arguments are set
author Jim Johnson <jj@umn.edu>
date Thu, 29 Oct 2015 10:09:02 -0500
parents 75fde37f69e5
children
files cdhit_macros.xml
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/cdhit_macros.xml	Thu Jun 27 21:27:06 2013 -0500
+++ b/cdhit_macros.xml	Thu Oct 29 10:09:02 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