mailr7251 - /1.3/generic_fns/grace.py


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

Header


Content

Posted by edward on September 24, 2008 - 17:56:
Author: bugman
Date: Wed Sep 24 17:56:02 2008
New Revision: 7251

URL: http://svn.gna.org/viewcvs/relax?rev=7251&view=rev
Log:
A few small fixes for the write() function.


Modified:
    1.3/generic_fns/grace.py

Modified: 1.3/generic_fns/grace.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/grace.py?rev=7251&r1=7250&r2=7251&view=diff
==============================================================================
--- 1.3/generic_fns/grace.py (original)
+++ 1.3/generic_fns/grace.py Wed Sep 24 17:56:02 2008
@@ -216,7 +216,7 @@
     system(grace_exe + " " + file_path + " &")
 
 
-def write(x_data_type='res', y_data_type=None, spin_id=None, 
plot_data='value', norm=True, file=None, dir=None, force=False):
+def write(x_data_type='res', y_data_type=None, spin_id=None, 
plot_data='value', file=None, dir=None, force=False, norm=True):
     """Writing data to a file.
 
     @keyword x_data_type:   The category of the X-axis data.
@@ -227,9 +227,6 @@
     @type spin_id:          str
     @keyword plot_data:     The type of the plotted data, one of 'value', 
'error', or 'sim'.
     @type plot_data:        str
-    @keyword norm:          The normalisation flag which if set to True will 
cause all graphs to be
-                            normalised to 1.
-    @type norm:             bool
     @keyword file:          The name of the Grace file to create.
     @type file:             str
     @keyword dir:           The optional directory to place the file into.
@@ -237,6 +234,9 @@
     @param force:           Boolean argument which if True causes the file 
to be overwritten if it
                             already exists.
     @type force:            bool
+    @keyword norm:          The normalisation flag which if set to True will 
cause all graphs to be
+                            normalised to a starting value of 1.
+    @type norm:             bool
     """
 
     # Test if the current pipe exists.




Related Messages


Powered by MHonArc, Updated Wed Sep 24 18:20:02 2008