Author: bugman Date: Thu Jun 30 20:26:52 2011 New Revision: 13356 URL: http://svn.gna.org/viewcvs/relax?rev=13356&view=rev Log: The structure.read_pdb graphic is now used in the user function. Modified: branches/gui_testing/gui/user_functions/structure.py Modified: branches/gui_testing/gui/user_functions/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/structure.py?rev=13356&r1=13355&r2=13356&view=diff ============================================================================== --- branches/gui_testing/gui/user_functions/structure.py (original) +++ branches/gui_testing/gui/user_functions/structure.py Thu Jun 30 20:26:52 2011 @@ -24,6 +24,7 @@ """The structure user function GUI elements.""" # Python module imports. +from os import sep from string import split # relax module imports. @@ -101,6 +102,7 @@ """The structure.read_pdb() user function page.""" # Some class variables. + image_path = WIZARD_IMAGE_PATH + sep + 'structure_read_pdb' + sep + 'pdb.png' main_text = """The reading of PDB files into relax is quite a flexible procedure allowing for both models, defined as an ensemble of the same molecule but with different atomic positions, and different molecules within the same model. One of more molecules can exist in one or more models. The flexibility allows PDB models to be converted into different molecules and different PDB files loaded as the same molecule but as different models. This flexibility is controlled by the four keyword arguments 'read_mol', 'set_mol_name', 'read_model', and 'set_model_num'. A few different PDB parsers can be used to read the structural data. The choice of which to use depends on whether your PDB file is supported by that reader. These are selected by setting the 'parser' argument to one of: