mailr27431 - /trunk/user_functions/structure.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on January 31, 2015 - 17:33:
Author: bugman
Date: Sat Jan 31 17:33:38 2015
New Revision: 27431

URL: http://svn.gna.org/viewcvs/relax?rev=27431&view=rev
Log:
Modified the structure.sequence_alignment user function arguments.

The pairwise_algorithm and matrix arguments can no be None, and they default 
to None.


Modified:
    trunk/user_functions/structure.py

Modified: trunk/user_functions/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/user_functions/structure.py?rev=27431&r1=27430&r2=27431&view=diff
==============================================================================
--- trunk/user_functions/structure.py   (original)
+++ trunk/user_functions/structure.py   Sat Jan 31 17:33:38 2015
@@ -1201,23 +1201,25 @@
 )
 uf.add_keyarg(
     name = "pairwise_algorithm",
-    default = "NW70",
+    default = None,
     py_type = "str",
     desc_short = "pairwise alignment algorithm",
     desc = "The pairwise alignment algorithm to align each pair of 
sequences.",
     wiz_element_type = "combo",
     wiz_combo_choices = ["NW70"],
-    wiz_read_only = True
+    wiz_read_only = True,
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "matrix",
-    default = "BLOSUM62",
+    default = None,
     py_type = "str",
     desc_short = "substitution matrix",
     desc = "The substitution matrix to use in the pairwise sequence 
alignment algorithm.",
     wiz_element_type = "combo",
     wiz_combo_choices = ["BLOSUM62", "PAM250", "NUC 4.4"],
-    wiz_read_only = True
+    wiz_read_only = True,
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "gap_open_penalty",




Related Messages


Powered by MHonArc, Updated Sat Jan 31 18:00:02 2015