mailr14138 - /branches/gui_testing/gui/user_functions/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 - 16:24:
Author: bugman
Date: Thu Aug  4 16:24:33 2011
New Revision: 14138

URL: http://svn.gna.org/viewcvs/relax?rev=14138&view=rev
Log:
Fix for the grace.view user function GUI page - the directory is set to None.

Without this, the directory would be set to 'grace' and prepended to the 
absolute path of 'file'!


Modified:
    branches/gui_testing/gui/user_functions/grace.py

Modified: branches/gui_testing/gui/user_functions/grace.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/grace.py?rev=14138&r1=14137&r2=14138&view=diff
==============================================================================
--- branches/gui_testing/gui/user_functions/grace.py (original)
+++ branches/gui_testing/gui/user_functions/grace.py Thu Aug  4 16:24:33 2011
@@ -119,7 +119,7 @@
         grace_exe = gui_to_str(self.grace_exe.GetValue())
 
         # Open the file.
-        self.gui.interpreter.grace.view(file=file, grace_exe=grace_exe)
+        self.gui.interpreter.grace.view(file=file, dir=None, 
grace_exe=grace_exe)
 
 
 




Related Messages


Powered by MHonArc, Updated Thu Aug 04 17:20:02 2011