mailr14108 - /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:39:
Author: bugman
Date: Thu Aug  4 11:39:43 2011
New Revision: 14108

URL: http://svn.gna.org/viewcvs/relax?rev=14108&view=rev
Log:
Fix for the addition of grace files to cdp.result_files - the file path is 
now used.


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=14108&r1=14107&r2=14108&view=diff
==============================================================================
--- 1.3/generic_fns/grace.py (original)
+++ 1.3/generic_fns/grace.py Thu Aug  4 11:39:43 2011
@@ -342,6 +342,7 @@
         raise RelaxNoSimError
 
     # Open the file for writing.
+    file_path = get_file_path(file, dir)
     file = open_write_file(file, dir, force)
 
     # Get the data.
@@ -372,7 +373,7 @@
     # Add the file to the results file list.
     if not hasattr(cdp, 'result_files'):
         cdp.results_files = []
-    cdp.results_files.append(['grace', file])
+    cdp.results_files.append(['grace', file_path])
 
 
 




Related Messages


Powered by MHonArc, Updated Thu Aug 04 12:00:02 2011