mailr8403 - /branches/multi_structure/generic_fns/structure/internal.py


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

Header


Content

Posted by edward on January 12, 2009 - 10:31:
Author: bugman
Date: Mon Jan 12 10:31:06 2009
New Revision: 8403

URL: http://svn.gna.org/viewcvs/relax?rev=8403&view=rev
Log:
Bug fix for the load_pdb() method call to MolList.add_item().


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

Modified: branches/multi_structure/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/internal.py?rev=8403&r1=8402&r2=8403&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/internal.py (original)
+++ branches/multi_structure/generic_fns/structure/internal.py Mon Jan 12 
10:31:06 2009
@@ -1004,7 +1004,7 @@
                 mol = Molecule_container(mol_name=new_mol_name, 
file_name=file, file_path=path, file_model=model_num, file_mol_num=mol_num)
 
                 # Add the molecule to the last model.
-                self.structural_data[-1].mol.add_item(mol_name=mol_name, 
mol_cont=mol)
+                self.structural_data[-1].mol.add_item(mol_name=new_mol_name, 
mol_cont=mol)
 
                 # Fill the molecular data object.
                 self.__fill_object_from_pdb(mol_records, 
model_index=len(self.structural_data), 
mol_index=len(self.structural_data[-1].mol))




Related Messages


Powered by MHonArc, Updated Mon Jan 12 14:20:01 2009