mailr28169 - in /trunk: graphics/oxygen_icons/16x16/places/ lib/__init__.py user_functions/sys_info.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 - 12:44:
Author: tlinnet
Date: Sat Apr  2 12:44:15 2016
New Revision: 28169

URL: http://svn.gna.org/viewcvs/relax?rev=28169&view=rev
Log:
Reverted r28168 - Too much was committed at the same time.

The command used was:
svn merge -r28168:28167 .

Removed:
    trunk/graphics/oxygen_icons/16x16/places/
Modified:
    trunk/lib/__init__.py
    trunk/user_functions/sys_info.py

Modified: trunk/lib/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/__init__.py?rev=28169&r1=28168&r2=28169&view=diff
==============================================================================
--- trunk/lib/__init__.py       (original)
+++ trunk/lib/__init__.py       Sat Apr  2 12:44:15 2016
@@ -58,7 +58,6 @@
     'spectrum',
     'statistics',
     'structure',
-    'system',
     'text',
     'timing',
     'warnings',

Modified: trunk/user_functions/sys_info.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/user_functions/sys_info.py?rev=28169&r1=28168&r2=28169&view=diff
==============================================================================
--- trunk/user_functions/sys_info.py    (original)
+++ trunk/user_functions/sys_info.py    Sat Apr  2 12:44:15 2016
@@ -24,7 +24,6 @@
 
 # relax module imports.
 from info import print_sys_info
-from lib.system import cd
 from lib.timing import print_time
 from user_functions.data import Uf_info; uf_info = Uf_info()
 from user_functions.objects import Desc_container
@@ -35,29 +34,6 @@
 uf_class.title = "Class containing the OS system related functions."
 uf_class.menu_text = "&system"
 uf_class.gui_icon = "oxygen.actions.help-about"
-
-
-# The cd user function.
-uf = uf_info.add_uf('system.cd')
-uf.title = "Change the current working directory to the specified path."
-uf.title_short = "Change current working directory."
-uf.display = True
-uf.add_keyarg(
-    name = "path",
-    py_type = "str",
-    desc_short = "path",
-    desc = "The path to the new current working directory."
-)
-# Description.
-uf.desc.append(Desc_container())
-uf.desc[-1].add_paragraph("The equivalent of python module os.chdir(path).  
Change the current working directory to the specified path.")
-uf.desc[-1].add_paragraph("To change the current working directory, type:")
-uf.desc[-1].add_prompt("relax> system.cd(\"/path/to/dir\")")
-uf.backend = cd
-uf.menu_text = "&cd"
-uf.gui_icon = "oxygen.places.folder-favorites"
-uf.wizard_size = (700, 400)
-uf.wizard_apply_button = False
 
 
 # The sys_info user function.




Related Messages


Powered by MHonArc, Updated Sat Apr 02 13:00:06 2016