mailr13388 - in /branches/gui_testing: generic_fns/mol_res_spin.py prompt/molecule.py prompt/residue.py prompt/spin.py


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

Header


Content

Posted by edward on July 01, 2011 - 18:09:
Author: bugman
Date: Fri Jul  1 18:09:58 2011
New Revision: 13388

URL: http://svn.gna.org/viewcvs/relax?rev=13388&view=rev
Log:
The wrapped spin ID string description is now only used in the user functions.

The original id_string_doc is now not wrapped, and id_string_doc_wrap is.


Modified:
    branches/gui_testing/generic_fns/mol_res_spin.py
    branches/gui_testing/prompt/molecule.py
    branches/gui_testing/prompt/residue.py
    branches/gui_testing/prompt/spin.py

Modified: branches/gui_testing/generic_fns/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/generic_fns/mol_res_spin.py?rev=13388&r1=13387&r2=13388&view=diff
==============================================================================
--- branches/gui_testing/generic_fns/mol_res_spin.py (original)
+++ branches/gui_testing/generic_fns/mol_res_spin.py Fri Jul  1 18:09:58 2011
@@ -73,7 +73,7 @@
 string = ''
 for line in split('\n', id_string_doc):
     string = string + fill(line, width=100, initial_indent=8*' ', 
subsequent_indent=8*' ') + '\n'
-id_string_doc = string
+id_string_doc_wrap = string
 
 
 

Modified: branches/gui_testing/prompt/molecule.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/prompt/molecule.py?rev=13388&r1=13387&r2=13388&view=diff
==============================================================================
--- branches/gui_testing/prompt/molecule.py (original)
+++ branches/gui_testing/prompt/molecule.py Fri Jul  1 18:09:58 2011
@@ -27,7 +27,7 @@
 # relax module imports.
 from base_class import User_fn_class
 import arg_check
-from generic_fns.mol_res_spin import copy_molecule, create_molecule, 
delete_molecule, display_molecule, id_string_doc, name_molecule, type_molecule
+from generic_fns.mol_res_spin import copy_molecule, create_molecule, 
delete_molecule, display_molecule, id_string_doc_wrap, name_molecule, 
type_molecule
 
 
 class Molecule(User_fn_class):
@@ -295,7 +295,7 @@
     #########################
 
     # Add the residue identification string description.
-    copy.__doc__ = copy.__doc__ + "\n\n" + id_string_doc + "\n"
-    delete.__doc__ = delete.__doc__ + "\n\n" + id_string_doc + "\n"
-    display.__doc__ = display.__doc__ + "\n\n" + id_string_doc + "\n"
-    name.__doc__ = name.__doc__ + "\n\n" + id_string_doc + "\n"
+    copy.__doc__ = copy.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    delete.__doc__ = delete.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    display.__doc__ = display.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    name.__doc__ = name.__doc__ + "\n\n" + id_string_doc_wrap + "\n"

Modified: branches/gui_testing/prompt/residue.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/prompt/residue.py?rev=13388&r1=13387&r2=13388&view=diff
==============================================================================
--- branches/gui_testing/prompt/residue.py (original)
+++ branches/gui_testing/prompt/residue.py Fri Jul  1 18:09:58 2011
@@ -27,7 +27,7 @@
 # relax module imports.
 from base_class import User_fn_class
 import arg_check
-from generic_fns.mol_res_spin import copy_residue, create_residue, 
delete_residue, display_residue, id_string_doc, name_residue, number_residue
+from generic_fns.mol_res_spin import copy_residue, create_residue, 
delete_residue, display_residue, id_string_doc_wrap, name_residue, 
number_residue
 
 
 class Residue(User_fn_class):
@@ -302,8 +302,8 @@
     #########################
 
     # Add the residue identification string description.
-    copy.__doc__ = copy.__doc__ + "\n\n" + id_string_doc + "\n"
-    delete.__doc__ = delete.__doc__ + "\n\n" + id_string_doc + "\n"
-    display.__doc__ = display.__doc__ + "\n\n" + id_string_doc + "\n"
-    name.__doc__ = name.__doc__ + "\n\n" + id_string_doc + "\n"
-    number.__doc__ = number.__doc__ + "\n\n" + id_string_doc + "\n"
+    copy.__doc__ = copy.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    delete.__doc__ = delete.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    display.__doc__ = display.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    name.__doc__ = name.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    number.__doc__ = number.__doc__ + "\n\n" + id_string_doc_wrap + "\n"

Modified: branches/gui_testing/prompt/spin.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/prompt/spin.py?rev=13388&r1=13387&r2=13388&view=diff
==============================================================================
--- branches/gui_testing/prompt/spin.py (original)
+++ branches/gui_testing/prompt/spin.py Fri Jul  1 18:09:58 2011
@@ -27,7 +27,7 @@
 # relax module imports.
 from base_class import User_fn_class
 import arg_check
-from generic_fns.mol_res_spin import copy_spin, create_pseudo_spin, 
create_spin, delete_spin, display_spin, id_string_doc, name_spin, 
number_spin, set_spin_element
+from generic_fns.mol_res_spin import copy_spin, create_pseudo_spin, 
create_spin, delete_spin, display_spin, id_string_doc_wrap, name_spin, 
number_spin, set_spin_element
 
 
 class Spin(User_fn_class):
@@ -404,9 +404,9 @@
     #########################
 
     # Add the identification string description.
-    copy.__doc__ = copy.__doc__ + "\n\n" + id_string_doc + "\n"
-    create.__doc__ = create.__doc__ + "\n\n" + id_string_doc + "\n"
-    delete.__doc__ = delete.__doc__ + "\n\n" + id_string_doc + "\n"
-    display.__doc__ = display.__doc__ + "\n\n" + id_string_doc + "\n"
-    name.__doc__ = name.__doc__ + "\n\n" + id_string_doc + "\n"
-    number.__doc__ = number.__doc__ + "\n\n" + id_string_doc + "\n"
+    copy.__doc__ = copy.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    create.__doc__ = create.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    delete.__doc__ = delete.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    display.__doc__ = display.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    name.__doc__ = name.__doc__ + "\n\n" + id_string_doc_wrap + "\n"
+    number.__doc__ = number.__doc__ + "\n\n" + id_string_doc_wrap + "\n"




Related Messages


Powered by MHonArc, Updated Fri Jul 01 18:20:02 2011