mailr22727 - /trunk/specific_analyses/parameter_object.py


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

Header


Content

Posted by edward on April 11, 2014 - 20:16:
Author: bugman
Date: Fri Apr 11 20:16:16 2014
New Revision: 22727

URL: http://svn.gna.org/viewcvs/relax?rev=22727&view=rev
Log:
The default scope for the parameter list object uf_doc() method is now 'spin'.

Most of the parameter tables are for setting spin parameters, so this will 
minimise code.


Modified:
    trunk/specific_analyses/parameter_object.py

Modified: trunk/specific_analyses/parameter_object.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/parameter_object.py?rev=22727&r1=22726&r2=22727&view=diff
==============================================================================
--- trunk/specific_analyses/parameter_object.py (original)
+++ trunk/specific_analyses/parameter_object.py Fri Apr 11 20:16:16 2014
@@ -580,7 +580,7 @@
         return text.split("'")[1]
 
 
-    def uf_doc(self, label=None, caption=None, scope=None, default=False, 
units=False, type=False):
+    def uf_doc(self, label=None, caption=None, scope='spin', default=False, 
units=False, type=False):
         """"Create the parameter documentation for the user function 
docstrings.
 
         @keyword label:     The label of the table.  This is used to 
identify replicated tables, and is also used in the table referencing in the 
LaTeX compilation of the user manual.  If this label is already used, the 
corresponding pre-constructed documentation object will be returned.




Related Messages


Powered by MHonArc, Updated Mon Apr 14 12:20:02 2014