mailr8445 - /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 14, 2009 - 17:44:
Author: bugman
Date: Wed Jan 14 17:44:07 2009
New Revision: 8445

URL: http://svn.gna.org/viewcvs/relax?rev=8445&view=rev
Log:
Bug fix for the load_pdb() method in the MolContainer setup.


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=8445&r1=8444&r2=8445&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/internal.py (original)
+++ branches/multi_structure/generic_fns/structure/internal.py Wed Jan 14 
17:44:07 2009
@@ -672,7 +672,7 @@
                 orig_mol_num.append(mol_num)
 
                 # Generate the molecule container.
-                mol = MolContainer(mol_name=new_mol_name, file_name=file, 
file_path=path, file_model=model_num, file_mol_num=mol_num)
+                mol = MolContainer(mol_name=new_mol_name[-1], 
file_name=file, file_path=path, file_model=model_num, file_mol_num=mol_num)
 
                 # Fill the molecular data object.
                 mol.fill_object_from_pdb(mol_records)




Related Messages


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