mailr8444 - /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 14, 2009 - 17:43:
Author: bugman
Date: Wed Jan 14 17:43:33 2009
New Revision: 8444

URL: http://svn.gna.org/viewcvs/relax?rev=8444&view=rev
Log:
Another bug fix for the pack_structs() method, the MolList.add_item() was 
incorrectly being called.


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=8444&r1=8443&r2=8444&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/api_base.py (original)
+++ branches/multi_structure/generic_fns/structure/api_base.py Wed Jan 14 
17:43:33 2009
@@ -344,7 +344,7 @@
                 print "Adding molecule '%s' to model %s (from the original 
molecule number %s of model %s)" % (set_mol_name[j], set_model_num[i], 
orig_mol_num[j], orig_model_num[i])
 
                 # Pack the structures.
-                model.add_item(mol_name=set_mol_name[j], 
mol_cont=data_matrix[i][j])
+                model.mol.add_item(mol_name=set_mol_name[j], 
mol_cont=data_matrix[i][j])
 
 
     def to_xml(self, doc, element):




Related Messages


Powered by MHonArc, Updated Wed Jan 14 18:00:03 2009