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: _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits