mailr3137 - /1.3/data/mol_res_spin.py


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

Header


Content

Posted by edward on March 09, 2007 - 10:28:
Author: bugman
Date: Fri Mar  9 10:27:38 2007
New Revision: 3137

URL: http://svn.gna.org/viewcvs/relax?rev=3137&view=rev
Log:
Deleted the add_list() method and added the ResidueList object to the 
MoleculeContainer class.


Modified:
    1.3/data/mol_res_spin.py

Modified: 1.3/data/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/data/mol_res_spin.py?rev=3137&r1=3136&r2=3137&view=diff
==============================================================================
--- 1.3/data/mol_res_spin.py (original)
+++ 1.3/data/mol_res_spin.py Fri Mar  9 10:27:38 2007
@@ -57,6 +57,9 @@
     # The name of the molecule, corresponding to that of the structure file 
if specified.
     name = None
 
+    # The empty residue list.
+    res = ResidueList()
+
 
     def __repr__(self):
         """The string representation of the object.
@@ -77,7 +80,7 @@
                 text = text + "  res: The list of the residues of the 
molecule is the object\n"
 
             # Skip certain objects.
-            if match("^_", name) or name == 'res' or name == 'add_list':
+            if match("^_", name) or name == 'res':
                 continue
 
             # Add the object's attribute to the text string.
@@ -86,11 +89,6 @@
 
         return text
 
-
-    def add_list(self, key):
-        """Function for adding an empty container to the dictionary."""
-
-        self[key] = ResidueList()
 
 
 




Related Messages


Powered by MHonArc, Updated Fri Mar 09 10:40:07 2007