Trees | Indices | Help |
|
---|
|
1 ############################################################################### 2 # # 3 # Copyright (C) 2011-2013 Edward d'Auvergne # 4 # # 5 # This file is part of the program relax (http://www.nmr-relax.com). # 6 # # 7 # This program is free software: you can redistribute it and/or modify # 8 # it under the terms of the GNU General Public License as published by # 9 # the Free Software Foundation, either version 3 of the License, or # 10 # (at your option) any later version. # 11 # # 12 # This program is distributed in the hope that it will be useful, # 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of # 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # 15 # GNU General Public License for more details. # 16 # # 17 # You should have received a copy of the GNU General Public License # 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. # 19 # # 20 ############################################################################### 21 22 # Module docstring. 23 """The sys_info user function definitions.""" 24 25 # relax module imports. 26 from info import print_sys_info 27 from user_functions.data import Uf_info; uf_info = Uf_info() 28 from user_functions.objects import Desc_container 29 30 31 # The sys_info user function. 32 uf = uf_info.add_uf('sys_info') 33 uf.title = "Display all system information relating to this version of relax." 34 uf.title_short = "Display system information." 35 uf.display = True 36 # Description. 37 uf.desc.append(Desc_container()) 38 uf.desc[-1].add_paragraph("This will display all of the relax, Python, python package and hardware information currently being used by relax. This is useful for seeing if all packages are up to date and if the correct software versions are being used. It is also very useful information for reporting relax bugs.") 39 uf.backend = print_sys_info 40 uf.menu_text = "s&ys_info" 41 uf.gui_icon = "oxygen.actions.help-about" 42 uf.wizard_size = (700, 400) 43 uf.wizard_apply_button = False 44
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 3 13:38:52 2014 | http://epydoc.sourceforge.net |