mailr4275 - /1.2/generic_fns/diffusion_tensor.py


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

Header


Content

Posted by edward on January 03, 2008 - 16:01:
Author: bugman
Date: Thu Jan  3 16:01:36 2008
New Revision: 4275

URL: http://svn.gna.org/viewcvs/relax?rev=4275&view=rev
Log:
Manually ported the bug fix of r4274 from the 1.3 line.

.....
  r4274 | bugman | 2008-01-03 15:59:55 +0100 (Thu, 03 Jan 2008) | 5 lines
  Changed paths:
     M /1.3/generic_fns/diffusion_tensor.py

  Bug fix for the generic_fns.diffusion_tensor.set() function.

  For detecting the parameter combination {Dpar, Dper}, Dpar was being 
checked twice!
.....


Modified:
    1.2/generic_fns/diffusion_tensor.py

Modified: 1.2/generic_fns/diffusion_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/generic_fns/diffusion_tensor.py?rev=4275&r1=4274&r2=4275&view=diff
==============================================================================
--- 1.2/generic_fns/diffusion_tensor.py (original)
+++ 1.2/generic_fns/diffusion_tensor.py Thu Jan  3 16:01:36 2008
@@ -961,7 +961,7 @@
                     self.relax.data.diff[self.run].Da = (Dratio - 1.0) / 
(2.0 * tm * (Dratio + 2.0))
 
                 # The geometric parameter set {Dpar, Dper}.
-                elif geo_params.count('Dpar') == 1 and 
geo_params.count('Dpar') == 1:
+                elif geo_params.count('Dpar') == 1 and 
geo_params.count('Dper') == 1:
                     # The parameters.
                     Dpar = geo_values[geo_params.index('Dpar')]
                     Dper = geo_values[geo_params.index('Dper')]




Related Messages


Powered by MHonArc, Updated Thu Jan 03 16:20:14 2008