mailr28185 - /trunk/gui/relax_gui.py


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

Header


Content

Posted by tlinnet on April 02, 2016 - 16:02:
Author: tlinnet
Date: Sat Apr  2 16:02:32 2016
New Revision: 28185

URL: http://svn.gna.org/viewcvs/relax?rev=28185&view=rev
Log:
Storing the current working directory as a GUI variable.

Modified:
    trunk/gui/relax_gui.py

Modified: trunk/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/relax_gui.py?rev=28185&r1=28184&r2=28185&view=diff
==============================================================================
--- trunk/gui/relax_gui.py      (original)
+++ trunk/gui/relax_gui.py      Sat Apr  2 16:02:32 2016
@@ -58,6 +58,7 @@
 from info import Info_box
 from lib.errors import RelaxNoPipeError
 from lib.io import io_streams_restore
+from lib.system import pwd
 from pipe_control import state
 from pipe_control.pipes import cdp_name
 from pipe_control.reset import reset
@@ -448,6 +449,7 @@
 
         # Temporary data:  the save file.
         self.save_file = None
+        self.system_cwd_path = pwd(verbose=False)
 
         # Add the GUI object to the data store, if not present.
         if not hasattr(ds, 'relax_gui'):
@@ -909,7 +911,7 @@
             return
 
         # Call the get_path function to get the directory name and change 
path.
-        path_name = dialog.get_path()
+        self.system_cwd_path = dialog.get_path()
 
         # Change the directory
         try:




Related Messages


Powered by MHonArc, Updated Sat Apr 02 16:20:06 2016