mailr5258 - /1.3/prompt/angles.py


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

Header


Content

Posted by sebastien . morin . 1 on April 03, 2008 - 17:15:
Author: semor
Date: Thu Apr  3 17:15:07 2008
New Revision: 5258

URL: http://svn.gna.org/viewcvs/relax?rev=5258&view=rev
Log:
Removed the run argument as part of the moving to the new design.


Modified:
    1.3/prompt/angles.py

Modified: 1.3/prompt/angles.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/angles.py?rev=5258&r1=5257&r2=5258&view=diff
==============================================================================
--- 1.3/prompt/angles.py (original)
+++ 1.3/prompt/angles.py Thu Apr  3 17:15:07 2008
@@ -34,19 +34,13 @@
         self.relax = relax
 
 
-    def angles(self, run=None):
+    def angles(self):
         """Function for calculating the angles between the XH bond vector 
and the diffusion tensor.
-
-        Keyword Arguments
-        ~~~~~~~~~~~~~~~~~
-
-        run:  The name of the run.
-
 
         Description
         ~~~~~~~~~~~
 
-        If the diffusion tensor is isotropic for the run, then nothing will 
be done.
+        If the diffusion tensor is isotropic, then nothing will be done.
 
         If the diffusion tensor is axially symmetric, then the angle alpha 
will be calculated for
         each XH bond vector.
@@ -56,13 +50,8 @@
 
         # Function intro text.
         if self.relax.interpreter.intro:
-            text = sys.ps3 + "angles("
-            text = text + "run=" + `run` + ")"
+            text = sys.ps3 + "angles()"
             print text
 
-        # The run argument.
-        if type(run) != str:
-            raise RelaxStrError, ('run', run)
-
         # Execute the functional code.
-        self.relax.generic.angles.angles(run=run)
+        angles_obj.angles()




Related Messages


Powered by MHonArc, Updated Thu Apr 03 17:20:11 2008