mailr6440 - /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 22, 2008 - 19:46:
Author: bugman
Date: Sun Jun 22 19:46:51 2008
New Revision: 6440

URL: http://svn.gna.org/viewcvs/relax?rev=6440&view=rev
Log:
Removed the index attribute as the order of the XML elements is constant.


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=6440&r1=6439&r2=6440&view=diff
==============================================================================
--- 1.3/data/mol_res_spin.py (original)
+++ 1.3/data/mol_res_spin.py Sun Jun 22 19:46:51 2008
@@ -200,7 +200,6 @@
             # Set the spin attributes.
             spin_element.setAttribute('name', self[i].name)
             spin_element.setAttribute('num', str(self[i].num))
-            spin_element.setAttribute('index', `i`)
             spin_element.setAttribute('desc', 'Spin')
 
             # Add all simple python objects within the SpinContainer to the 
XML element.
@@ -384,7 +383,6 @@
             # Set the residue attributes.
             res_element.setAttribute('name', self[i].name)
             res_element.setAttribute('num', str(self[i].num))
-            res_element.setAttribute('index', `i`)
             res_element.setAttribute('desc', 'Residue')
 
             # Add all simple python objects within the ResidueContainer to 
the XML element.
@@ -557,7 +555,6 @@
 
             # Set the molecule attributes.
             mol_element.setAttribute('name', self[i].name)
-            mol_element.setAttribute('index', `i`)
             mol_element.setAttribute('desc', 'Molecule')
 
             # Add all simple python objects within the MoleculeContainer to 
the XML element.




Related Messages


Powered by MHonArc, Updated Sun Jun 22 20:40:23 2008