mailr7503 - /1.3/specific_fns/model_free/main.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:32:
Author: bugman
Date: Sun Oct  5 11:32:45 2008
New Revision: 7503

URL: http://svn.gna.org/viewcvs/relax?rev=7503&view=rev
Log:
Partial fix for bug #12407 (https://gna.org/bugs/index.php?12407).

The model-free assemble_param_names() method was not returning the parameter 
names.  This could
affect much more than model elimination!


Modified:
    1.3/specific_fns/model_free/main.py

Modified: 1.3/specific_fns/model_free/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/main.py?rev=7503&r1=7502&r2=7503&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/main.py (original)
+++ 1.3/specific_fns/model_free/main.py Sun Oct  5 11:32:45 2008
@@ -146,12 +146,15 @@
         if model_type != 'diff':
             # Loop over the spins.
             for spin in spin_loop(spin_id):
-                # Skip deselected residues.
+                # Skip deselected spins.
                 if not spin.select:
                     continue
 
                 # Add the spin specific model-free parameters.
                 param_names = param_names + spin.params
+
+        # Return the parameter names.
+        return param_names
 
 
     def assemble_param_vector(self, spin=None, spin_id=None, sim_index=None, 
model_type=None):




Related Messages


Powered by MHonArc, Updated Sun Oct 05 12:00:04 2008