mailr15224 - in /1.3/generic_fns: pcs.py rdc.py


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

Header


Content

Posted by edward on January 24, 2012 - 15:00:
Author: bugman
Date: Tue Jan 24 15:00:01 2012
New Revision: 15224

URL: http://svn.gna.org/viewcvs/relax?rev=15224&view=rev
Log:
Fixes for the rdc.read and pcs.read user function backends.

The spin_id string is now not used in the back end - it was being sent to the 
return_spin() function
- removing flexibility but significantly speeding up the user functions.


Modified:
    1.3/generic_fns/pcs.py
    1.3/generic_fns/rdc.py

Modified: 1.3/generic_fns/pcs.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pcs.py?rev=15224&r1=15223&r2=15224&view=diff
==============================================================================
--- 1.3/generic_fns/pcs.py (original)
+++ 1.3/generic_fns/pcs.py Tue Jan 24 15:00:01 2012
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2003-2011 Edward d'Auvergne                                  
 #
+# Copyright (C) 2003-2012 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -469,7 +469,7 @@
             raise RelaxError("An invalid error value of zero has been 
encountered.")
 
         # Get the corresponding spin container.
-        spin = return_spin([id, spin_id])
+        spin = return_spin(id)
         if spin == None:
             warn(RelaxNoSpinWarning(id))
             continue

Modified: 1.3/generic_fns/rdc.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/rdc.py?rev=15224&r1=15223&r2=15224&view=diff
==============================================================================
--- 1.3/generic_fns/rdc.py (original)
+++ 1.3/generic_fns/rdc.py Tue Jan 24 15:00:01 2012
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2003-2011 Edward d'Auvergne                                  
 #
+# Copyright (C) 2003-2012 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -436,7 +436,7 @@
             raise RelaxError("An invalid error value of zero has been 
encountered.")
 
         # Get the corresponding spin container.
-        spin = return_spin([id, spin_id])
+        spin = return_spin(id)
         if spin == None:
             warn(RelaxNoSpinWarning(id))
             continue




Related Messages


Powered by MHonArc, Updated Tue Jan 24 15:20:02 2012