mailr14107 - /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 August 04, 2011 - 11:37:
Author: bugman
Date: Thu Aug  4 11:37:57 2011
New Revision: 14107

URL: http://svn.gna.org/viewcvs/relax?rev=14107&view=rev
Log:
Files created by the grace.write user function are now put into a new list 
cdp.results_files.

This is a list of lists, with the sublist composed of two elements.  The 
first is an identifier
string such as 'grace'.  The second is the file name.


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=14107&r1=14106&r2=14107&view=diff
==============================================================================
--- 1.3/generic_fns/grace.py (original)
+++ 1.3/generic_fns/grace.py Thu Aug  4 11:37:57 2011
@@ -368,6 +368,12 @@
 
     # Close the file.
     file.close()
+
+    # Add the file to the results file list.
+    if not hasattr(cdp, 'result_files'):
+        cdp.results_files = []
+    cdp.results_files.append(['grace', file])
+
 
 
 def write_xy_data(data, file=None, graph_type=None, norm=False):




Related Messages


Powered by MHonArc, Updated Thu Aug 04 11:40:01 2011