mailr18206 - /trunk/generic_fns/pcs.py


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

Header


Content

Posted by edward on January 15, 2013 - 21:05:
Author: bugman
Date: Tue Jan 15 21:05:29 2013
New Revision: 18206

URL: http://svn.gna.org/viewcvs/relax?rev=18206&view=rev
Log:
Fix for the pcs.structural_noise user function - old structural errors were 
not correctly removed.


Modified:
    trunk/generic_fns/pcs.py

Modified: trunk/generic_fns/pcs.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/generic_fns/pcs.py?rev=18206&r1=18205&r2=18206&view=diff
==============================================================================
--- trunk/generic_fns/pcs.py (original)
+++ trunk/generic_fns/pcs.py Tue Jan 15 21:05:29 2013
@@ -810,7 +810,7 @@
             # Remove the previous error.
             if id in spin.pcs_struct_err:
                 warn(RelaxWarning("Removing the previous structural error 
value from the PCS error of the spin '%s' for the alignment ID '%s'." % 
(spin_id, id)))
-                spin.pcs_err[id] = sqrt(spin.pcs_err[id]**2 - sd**2)
+                spin.pcs_err[id] = sqrt(spin.pcs_err[id]**2 - 
spin.pcs_struct_err[id]**2)
 
             # Store the structural error.
             spin.pcs_struct_err[id] = sd




Related Messages


Powered by MHonArc, Updated Tue Jan 15 21:40:02 2013