mailr6477 - /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 June 24, 2008 - 00:39:
Author: bugman
Date: Tue Jun 24 00:39:26 2008
New Revision: 6477

URL: http://svn.gna.org/viewcvs/relax?rev=6477&view=rev
Log:
Added 'container' to the description of the molecule, residue, and spin XML 
elements.


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=6477&r1=6476&r2=6477&view=diff
==============================================================================
--- 1.3/data/mol_res_spin.py (original)
+++ 1.3/data/mol_res_spin.py Tue Jun 24 00:39:26 2008
@@ -206,9 +206,9 @@
             element.appendChild(spin_element)
 
             # Set the spin attributes.
+            spin_element.setAttribute('desc', 'Spin container')
             spin_element.setAttribute('name', self[i].name)
             spin_element.setAttribute('num', str(self[i].num))
-            spin_element.setAttribute('desc', 'Spin')
 
             # Get the spin specific object names and loop over them to get 
their descriptions.
             object_info = []
@@ -421,9 +421,9 @@
             element.appendChild(res_element)
 
             # Set the residue attributes.
+            res_element.setAttribute('desc', 'Residue container')
             res_element.setAttribute('name', self[i].name)
             res_element.setAttribute('num', str(self[i].num))
-            res_element.setAttribute('desc', 'Residue')
 
             # Add all simple python objects within the ResidueContainer to 
the XML element.
             fill_object_contents(doc, res_element, object=self[i], 
blacklist=['name', 'num', 'spin'] + self[i].__class__.__dict__.keys())
@@ -594,8 +594,8 @@
             element.appendChild(mol_element)
 
             # Set the molecule attributes.
+            mol_element.setAttribute('desc', 'Molecule container')
             mol_element.setAttribute('name', self[i].name)
-            mol_element.setAttribute('desc', 'Molecule')
 
             # Add all simple python objects within the MoleculeContainer to 
the XML element.
             fill_object_contents(doc, mol_element, object=self[i], 
blacklist=['name', 'res'] + self[i].__class__.__dict__.keys())




Related Messages


Powered by MHonArc, Updated Tue Jun 24 00:40:32 2008