mailr7501 - /1.3/generic_fns/value.py


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

Header


Content

Posted by edward on October 05, 2008 - 11:12:
Author: bugman
Date: Sun Oct  5 11:12:34 2008
New Revision: 7501

URL: http://svn.gna.org/viewcvs/relax?rev=7501&view=rev
Log:
Fix for bug #12406 (https://gna.org/bugs/?12406).

The issue was that the force flag should have had a default value of True so 
that value.set() can
overwrite existing parameters.


Modified:
    1.3/generic_fns/value.py

Modified: 1.3/generic_fns/value.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/value.py?rev=7501&r1=7500&r2=7501&view=diff
==============================================================================
--- 1.3/generic_fns/value.py (original)
+++ 1.3/generic_fns/value.py Sun Oct  5 11:12:34 2008
@@ -349,8 +349,8 @@
         minimise.reset_min_stats()
 
 
-def set(val=None, param=None, spin_id=None, force=False, reset=True):
-    """Function for setting residue specific data values.
+def set(val=None, param=None, spin_id=None, force=True, reset=True):
+    """Set global or spin specific data values.
 
     @keyword val:       The parameter values.
     @type val:          None, number, or list of numbers
@@ -401,7 +401,7 @@
 
             # Loop over the spins.
             for spin in spin_loop(spin_id):
-                # Skip deselected residues.
+                # Skip deselected spins.
                 if not spin.select:
                     continue
 




Related Messages


Powered by MHonArc, Updated Sun Oct 05 11:40:02 2008