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",


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to