mailr13519 - /branches/gui_testing/prompt/structure.py


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

Header


Content

Posted by edward on July 08, 2011 - 10:03:
Author: bugman
Date: Fri Jul  8 10:03:12 2011
New Revision: 13519

URL: http://svn.gna.org/viewcvs/relax?rev=13519&view=rev
Log:
Improvements to the documentation of the structure user functions.


Modified:
    branches/gui_testing/prompt/structure.py

Modified: branches/gui_testing/prompt/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/prompt/structure.py?rev=13519&r1=13518&r2=13519&view=diff
==============================================================================
--- branches/gui_testing/prompt/structure.py (original)
+++ branches/gui_testing/prompt/structure.py Fri Jul  8 10:03:12 2011
@@ -261,8 +261,9 @@
 
     # The function doc info.
     delete._doc_title = "Delete all structural information from the current 
data pipe."
+    delete._doc_title_short = "Structure deletion."
     delete._doc_desc = """
-        This function will delete all the structural information.
+        This will delete all the structural information from the relax data 
store.
         """
     delete._doc_examples = """
         Simply type:
@@ -297,7 +298,7 @@
         ["combine_models", "A flag which specifies if spins from separate 
models should be combined."],
         ["ave_pos", "A flag specifying if the position of the atom is to be 
averaged across models."]]
     load_spins._doc_desc = """
-        This function allows a sequence to be generated within the relax 
data store using the atomic information from the structure already associated 
with this data pipe.  The spin_id string is used to select which molecules, 
which residues, and which atoms will be recognised as spin systems within 
relax.  If spin_id is left as None, then all molecules, residues, and atoms 
will be placed within the data store.
+        This allows a sequence to be generated within the relax data store 
using the atomic information from the structure already associated with this 
data pipe.  The spin_id string is used to select which molecules, which 
residues, and which atoms will be recognised as spin systems within relax.  
If spin_id is left as None, then all molecules, residues, and atoms will be 
placed within the data store.
 
         If the combine_models flag is True, then the spins from only a 
single structure from the ensemble of models will be taken.  If False, then 
spins will be loaded for each model.
 
@@ -359,8 +360,8 @@
         generic_fns.structure.main.read_pdb(file=file, dir=dir, 
read_mol=read_mol, set_mol_name=set_mol_name, read_model=read_model, 
set_model_num=set_model_num, parser=parser)
 
     # The function doc info.
-    read_pdb._doc_title = "Loading structures from PDB files."
-    read_pdb._doc_title_short = "PDB loading."
+    read_pdb._doc_title = "Reading structures from PDB files."
+    read_pdb._doc_title_short = "PDB reading."
     read_pdb._doc_args = [
         ["file", "The name of the PDB file."],
         ["dir", "The directory where the file is located."],
@@ -549,7 +550,8 @@
         generic_fns.structure.main.write_pdb(file=file, dir=dir, 
model_num=model_num, force=force)
 
     # The function doc info.
-    write_pdb._doc_title = "The PDB writing function."
+    write_pdb._doc_title = "Writing structures to a PDB file."
+    write_pdb._doc_title_short = "PDB writing."
     write_pdb._doc_args = [["file", "The name of the PDB file."],
                            ["dir", "The directory where the file is 
located."],
                            ["model_num", "The optional model to place in the 
PDB file."],




Related Messages


Powered by MHonArc, Updated Fri Jul 08 10:40:02 2011