mailr8604 - /branches/multi_structure/generic_fns/structure/api_base.py


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

Header


Content

Posted by edward on January 22, 2009 - 16:45:
Author: bugman
Date: Thu Jan 22 16:45:51 2009
New Revision: 8604

URL: http://svn.gna.org/viewcvs/relax?rev=8604&view=rev
Log:
Fix for the ModelList.from_xml() method.  The XML element is called mol_cont, 
not mol.


Modified:
    branches/multi_structure/generic_fns/structure/api_base.py

Modified: branches/multi_structure/generic_fns/structure/api_base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/api_base.py?rev=8604&r1=8603&r2=8604&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/api_base.py (original)
+++ branches/multi_structure/generic_fns/structure/api_base.py Thu Jan 22 
16:45:51 2009
@@ -773,7 +773,7 @@
             self.add_item(model_num=num)
 
             # Get the molecule nodes.
-            mol_nodes = model_node.getElementsByTagName('mol')
+            mol_nodes = model_node.getElementsByTagName('mol_cont')
 
             # Recreate the molecule data structures for the current model.
             self[-1].mol.from_xml(mol_nodes)




Related Messages


Powered by MHonArc, Updated Thu Jan 22 17:00:05 2009