mailr22871 - /trunk/specific_analyses/relax_disp/api.py


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

Header


Content

Posted by tlinnet on April 29, 2014 - 13:56:
Author: tlinnet
Date: Tue Apr 29 13:56:06 2014
New Revision: 22871

URL: http://svn.gna.org/viewcvs/relax?rev=22871&view=rev
Log:
Space fix.

Feature request: #3151, (https://gna.org/support/index.php?3151) - User 
function to set the R20 parameters in the default grid search using the 
minimum R2eff value.

Modified:
    trunk/specific_analyses/relax_disp/api.py

Modified: trunk/specific_analyses/relax_disp/api.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/api.py?rev=22871&r1=22870&r2=22871&view=diff
==============================================================================
--- trunk/specific_analyses/relax_disp/api.py   (original)
+++ trunk/specific_analyses/relax_disp/api.py   Tue Apr 29 13:56:06 2014
@@ -920,8 +920,9 @@
                         if index == None:
                             obj = getattr(spin, obj_name)
                             obj[key] = value[i]
-                        # If the index is specified, let it mathc the 
frequency index
-                        elif index != None and mi == index:
+
+                        # If the index is specified, let it match the 
frequency index
+                        elif mi == index:
                             obj = getattr(spin, obj_name)
                             obj[key] = value[i]
 




Related Messages


Powered by MHonArc, Updated Tue Apr 29 15:20:02 2014