mailr18907 - /trunk/auto_analyses/dauvergne_protocol.py


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

Header


Content

Posted by edward on March 20, 2013 - 13:32:
Author: bugman
Date: Wed Mar 20 13:32:45 2013
New Revision: 18907

URL: http://svn.gna.org/viewcvs/relax?rev=18907&view=rev
Log:
The model-free auto-analysis (the dauvergne_protocol module) now adds 
comments to the Rex files.

This is through the new comment argument of the value.write user function.  
These comments explain
that the Rex values are scaled to the stated field strength.


Modified:
    trunk/auto_analyses/dauvergne_protocol.py

Modified: trunk/auto_analyses/dauvergne_protocol.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/auto_analyses/dauvergne_protocol.py?rev=18907&r1=18906&r2=18907&view=diff
==============================================================================
--- trunk/auto_analyses/dauvergne_protocol.py (original)
+++ trunk/auto_analyses/dauvergne_protocol.py Wed Mar 20 13:32:45 2013
@@ -911,7 +911,8 @@
         self.interpreter.value.write(param='local_tm', file='local_tm.txt', 
dir=dir, force=True)
         frqs = frq.get_values()
         for i in range(len(frqs)):
-            self.interpreter.value.write(param='rex', 
file='rex_%s.txt'%int(frqs[i]/1e6), dir=dir, scaling=(2.0*pi*frqs[i])**2, 
force=True)
+            comment = "This is the Rex value with units rad.s^-1 scaled to a 
magnetic field strength of %s MHz." % (frqs[i]/1e6)
+            self.interpreter.value.write(param='rex', 
file='rex_%s.txt'%int(frqs[i]/1e6), dir=dir, scaling=(2.0*pi*frqs[i])**2, 
comment=comment, force=True)
 
         # Create the PyMOL macros.
         dir = self.write_results_dir + 'final' + sep + 'pymol'




Related Messages


Powered by MHonArc, Updated Wed Mar 20 14:00:03 2013