mailr4067 - /1.3/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 November 27, 2007 - 11:01:
Author: bugman
Date: Tue Nov 27 10:28:25 2007
New Revision: 4067

URL: http://svn.gna.org/viewcvs/relax?rev=4067&view=rev
Log:
Bug fix for the docstring of the 
generic_fns.diffusion_tensor.return_data_name() function.

The docstring, because it is joined onto user function docstrings, must have 
indentation of 8 spaces
as well!


Modified:
    1.3/generic_fns/diffusion_tensor.py

Modified: 1.3/generic_fns/diffusion_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/diffusion_tensor.py?rev=4067&r1=4066&r2=4067&view=diff
==============================================================================
--- 1.3/generic_fns/diffusion_tensor.py (original)
+++ 1.3/generic_fns/diffusion_tensor.py Tue Nov 27 10:28:25 2007
@@ -696,56 +696,56 @@
 
 def return_data_name(name):
     """
-    Diffusion tensor parameter string matching patterns
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    
____________________________________________________________________________________________
-    |                                                        |              
|                  |
-    | Data type                                              | Object name  
| Patterns         |
-    
|________________________________________________________|______________|__________________|
-    |                                                        |              
|                  |
-    | Global correlation time - tm                           | 'tm'         
| '^tm$'           |
-    |                                                        |              
|                  |
-    | Isotropic component of the diffusion tensor - Diso     | 'Diso'       
| '[Dd]iso'        |
-    |                                                        |              
|                  |
-    | Anisotropic component of the diffusion tensor - Da     | 'Da'         
| '[Dd]a'          |
-    |                                                        |              
|                  |
-    | Rhombic component of the diffusion tensor - Dr         | 'Dr'         
| '[Dd]r$'         |
-    |                                                        |              
|                  |
-    | Eigenvalue associated with the x-axis of the diffusion | 'Dx'         
| '[Dd]x'          |
-    | diffusion tensor - Dx                                  |              
|                  |
-    |                                                        |              
|                  |
-    | Eigenvalue associated with the y-axis of the diffusion | 'Dy'         
| '[Dd]y'          |
-    | diffusion tensor - Dy                                  |              
|                  |
-    |                                                        |              
|                  |
-    | Eigenvalue associated with the z-axis of the diffusion | 'Dz'         
| '[Dd]z'          |
-    | diffusion tensor - Dz                                  |              
|                  |
-    |                                                        |              
|                  |
-    | Diffusion coefficient parallel to the major axis of    | 'Dpar'       
| '[Dd]par'        |
-    | the spheroid diffusion tensor - Dpar                   |              
|                  |
-    |                                                        |              
|                  |
-    | Diffusion coefficient perpendicular to the major axis  | 'Dper'       
| '[Dd]per'        |
-    | of the spheroid diffusion tensor - Dper                |              
|                  |
-    |                                                        |              
|                  |
-    | Ratio of the parallel and perpendicular components of  | 'Dratio'     
| '[Dd]ratio'      |
-    | the spheroid diffusion tensor - Dratio                 |              
|                  |
-    |                                                        |              
|                  |
-    | The first Euler angle of the ellipsoid diffusion       | 'alpha'      
| '^a$' or 'alpha' |
-    | tensor - alpha                                         |              
|                  |
-    |                                                        |              
|                  |
-    | The second Euler angle of the ellipsoid diffusion      | 'beta'       
| '^b$' or 'beta'  |
-    | tensor - beta                                          |              
|                  |
-    |                                                        |              
|                  |
-    | The third Euler angle of the ellipsoid diffusion       | 'gamma'      
| '^g$' or 'gamma' |
-    | tensor - gamma                                         |              
|                  |
-    |                                                        |              
|                  |
-    | The polar angle defining the major axis of the         | 'theta'      
| 'theta'          |
-    | spheroid diffusion tensor - theta                      |              
|                  |
-    |                                                        |              
|                  |
-    | The azimuthal angle defining the major axis of the     | 'phi'        
| 'phi'            |
-    | spheroid diffusion tensor - phi                        |              
|                  |
-    
|________________________________________________________|______________|__________________|
-    """
+        Diffusion tensor parameter string matching patterns
+        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+        
____________________________________________________________________________________________
+        |                                                        |           
   |                  |
+        | Data type                                              | Object 
name  | Patterns         |
+        
|________________________________________________________|______________|__________________|
+        |                                                        |           
   |                  |
+        | Global correlation time - tm                           | 'tm'      
   | '^tm$'           |
+        |                                                        |           
   |                  |
+        | Isotropic component of the diffusion tensor - Diso     | 'Diso'    
   | '[Dd]iso'        |
+        |                                                        |           
   |                  |
+        | Anisotropic component of the diffusion tensor - Da     | 'Da'      
   | '[Dd]a'          |
+        |                                                        |           
   |                  |
+        | Rhombic component of the diffusion tensor - Dr         | 'Dr'      
   | '[Dd]r$'         |
+        |                                                        |           
   |                  |
+        | Eigenvalue associated with the x-axis of the diffusion | 'Dx'      
   | '[Dd]x'          |
+        | diffusion tensor - Dx                                  |           
   |                  |
+        |                                                        |           
   |                  |
+        | Eigenvalue associated with the y-axis of the diffusion | 'Dy'      
   | '[Dd]y'          |
+        | diffusion tensor - Dy                                  |           
   |                  |
+        |                                                        |           
   |                  |
+        | Eigenvalue associated with the z-axis of the diffusion | 'Dz'      
   | '[Dd]z'          |
+        | diffusion tensor - Dz                                  |           
   |                  |
+        |                                                        |           
   |                  |
+        | Diffusion coefficient parallel to the major axis of    | 'Dpar'    
   | '[Dd]par'        |
+        | the spheroid diffusion tensor - Dpar                   |           
   |                  |
+        |                                                        |           
   |                  |
+        | Diffusion coefficient perpendicular to the major axis  | 'Dper'    
   | '[Dd]per'        |
+        | of the spheroid diffusion tensor - Dper                |           
   |                  |
+        |                                                        |           
   |                  |
+        | Ratio of the parallel and perpendicular components of  | 'Dratio'  
   | '[Dd]ratio'      |
+        | the spheroid diffusion tensor - Dratio                 |           
   |                  |
+        |                                                        |           
   |                  |
+        | The first Euler angle of the ellipsoid diffusion       | 'alpha'   
   | '^a$' or 'alpha' |
+        | tensor - alpha                                         |           
   |                  |
+        |                                                        |           
   |                  |
+        | The second Euler angle of the ellipsoid diffusion      | 'beta'    
   | '^b$' or 'beta'  |
+        | tensor - beta                                          |           
   |                  |
+        |                                                        |           
   |                  |
+        | The third Euler angle of the ellipsoid diffusion       | 'gamma'   
   | '^g$' or 'gamma' |
+        | tensor - gamma                                         |           
   |                  |
+        |                                                        |           
   |                  |
+        | The polar angle defining the major axis of the         | 'theta'   
   | 'theta'          |
+        | spheroid diffusion tensor - theta                      |           
   |                  |
+        |                                                        |           
   |                  |
+        | The azimuthal angle defining the major axis of the     | 'phi'     
   | 'phi'            |
+        | spheroid diffusion tensor - phi                        |           
   |                  |
+        
|________________________________________________________|______________|__________________|
+    """    # This docstring is to be joined onto those of the user 
functions, hence the 8 whitespace characters.
 
     # Enforce that the name must be a string.
     if type(name) != str:




Related Messages


Powered by MHonArc, Updated Tue Nov 27 11:20:16 2007